|
|
|
|
|
by yesbabyyes
5286 days ago
|
|
[...] dealing with orphans on the web is kind of impossible. Not at all! Just: html.replace(/\s+(\S+)$/mg, " $1")
EDIT: Bugfix, don't replace whitespace without any characters after, replace all occurrences in a multi-line text |
|