mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
allow non ascii chars in txt export
This commit is contained in:
parent
d3f730e2ba
commit
be56272e66
4 changed files with 562 additions and 15 deletions
|
@ -80,8 +80,4 @@ exports._analyzeLine = function(text, aline, apool){
|
|||
}
|
||||
|
||||
|
||||
exports._encodeWhitespace = function(s){
|
||||
return s.replace(/[^\x21-\x7E\s\t\n\r]/g, function(c){
|
||||
return "&#" +c.charCodeAt(0) + ";"
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue