mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-07 21:26:45 +02:00
take line breaks and treat them appropriatly instead of creating a space for them..
This commit is contained in:
parent
4b488bc8af
commit
bf380eea50
@ -89,7 +89,7 @@ function makeContentCollector(collectStyles, browser, apool, domInterface, class
|
||||
function textify(str)
|
||||
{
|
||||
return sanitizeUnicode(
|
||||
str.replace(/[\n\r ]/g, ' ').replace(/\xa0/g, ' ').replace(/\t/g, ' '));
|
||||
str.replace(/\n/g, '').replace(/[\n\r ]/g, ' ').replace(/\xa0/g, ' ').replace(/\t/g, ' '));
|
||||
}
|
||||
|
||||
function getAssoc(node, name)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user