cleanup regex

This commit is contained in:
Eric Fischer
2017-12-08 14:36:43 -05:00
parent cffc155307
commit f63cf61a9d

View File

@@ -429,7 +429,7 @@ else
text = _DoItalicsAndBold(text);
// Do hard breaks:
text = text.replace(/ {2}+\n/g, ' <br>\n');
text = text.replace(/ +\n/g, ' <br>\n');
return text;
}