mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
Revert "allow non ascii chars in txt export"
This reverts commit be56272e66
.
This commit is contained in:
parent
be56272e66
commit
dea892213e
4 changed files with 15 additions and 562 deletions
|
@ -80,4 +80,8 @@ 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