mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-08 03:02:03 +01:00
Fixed another bug that breaked the abiword parser
This commit is contained in:
parent
90ba811bb5
commit
f6165eb2ea
1 changed files with 6 additions and 1 deletions
|
@ -257,8 +257,13 @@ function getHTMLFromAtext(pad, atext)
|
||||||
{
|
{
|
||||||
chars--; // exclude newline at end of line, if present
|
chars--; // exclude newline at end of line, if present
|
||||||
}
|
}
|
||||||
|
|
||||||
var s = taker.take(chars);
|
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));
|
assem.append(_escapeHTML(s));
|
||||||
} // end iteration over spans in line
|
} // end iteration over spans in line
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue