mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
take line breaks and treat them appropriatly instead of creating a space for them..
This commit is contained in:
parent
4b488bc8af
commit
bf380eea50
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue