Hi. Just noticed that your script to parse the markdown and add your own divs leaves the
in the html code.
Your code should probably be someting like:
html.gsub!(/^<p>\[(.*?)\/\]<\/p>/m, '<div class="\1"></div>')
instead of
html.gsub!(/^<p>\[(.*?)\/\]/m, '<div class="\1"></div>')
Thanks for this utility !
Hi. Just noticed that your script to parse the markdown and add your own divs leaves the
in the html code.Your code should probably be someting like:
instead of
Thanks for this utility !