Commit f63cf61a by Eric Fischer

cleanup regex

parent cffc1553
...@@ -429,7 +429,7 @@ else ...@@ -429,7 +429,7 @@ else
text = _DoItalicsAndBold(text); text = _DoItalicsAndBold(text);
// Do hard breaks: // Do hard breaks:
text = text.replace(/ {2}+\n/g, ' <br>\n'); text = text.replace(/ +\n/g, ' <br>\n');
return text; return text;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment