allow non ascii chars in txt export

This commit is contained in:
John McLear 2013-02-13 18:30:55 +00:00
parent d3f730e2ba
commit be56272e66
4 changed files with 562 additions and 15 deletions

View file

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