Fixed another bug that breaked the abiword parser

This commit is contained in:
Peter 'Pita' Martischka 2011-11-05 19:34:01 +01:00
parent 90ba811bb5
commit f6165eb2ea
1 changed files with 6 additions and 1 deletions

View File

@ -257,8 +257,13 @@ function getHTMLFromAtext(pad, atext)
{
chars--; // exclude newline at end of line, if present
}
var s = taker.take(chars);
//removes the characters with the code 12. Don't know where they come
//from but they break the abiword parser and are completly useless
s = s.replace(String.fromCharCode(12), "");
assem.append(_escapeHTML(s));
} // end iteration over spans in line