take line breaks and treat them appropriatly instead of creating a space for them..

pull/2289/head
John McLear 2014-11-01 18:07:34 +00:00
parent 4b488bc8af
commit bf380eea50
1 changed files with 1 additions and 1 deletions

View File

@ -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)