cleanup regex
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user