mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-25 09:56:15 -04:00
kinda brutal way of stopping plugins being able to pass *s instead of attributes
This commit is contained in:
parent
a67a0950dd
commit
626ee97669
2 changed files with 6 additions and 2 deletions
|
@ -236,6 +236,10 @@ function getTXTFromAtext(pad, atext, authorColors)
|
|||
//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), "");
|
||||
|
||||
// remove * from s, it's just not needed on a blank line.. This stops
|
||||
// plugins from being able to display * at the beginning of a line
|
||||
s = s.replace("*", "");
|
||||
|
||||
// assem.append(_encodeWhitespace(Security.escapeHTML(s)));
|
||||
assem.append(_encodeWhitespace(s));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue