Revert "allow non ascii chars in txt export"

This reverts commit be56272e66.
This commit is contained in:
John McLear 2013-02-13 18:41:04 +00:00
parent be56272e66
commit dea892213e
4 changed files with 15 additions and 562 deletions

View file

@ -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) + ";"
});
}