fix hard breaks

This commit is contained in:
joyqi 2013-11-29 21:46:58 +08:00
parent 6b4ac97135
commit 5dd094a8be

View File

@ -466,7 +466,7 @@ else
text = _DoItalicsAndBold(text);
// Do hard breaks:
text = text.replace(/ +\n/g, " <br>\n");
text = text.replace(/ *\n/g, " <br>\n");
text = pluginHooks.postSpanGamut(text);