mirror of
https://github.com/typecho/typecho.git
synced 2025-03-22 10:59:41 +01:00
fix hard breaks
This commit is contained in:
parent
6b4ac97135
commit
5dd094a8be
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user