take line breaks and treat them appropriatly instead of creating a space for them..
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…
Reference in New Issue