1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-10 20:09:57 +00:00

Transliterate control characters in site title (#8339)

This commit is contained in:
Jeremy Ruston 2024-08-07 11:42:46 +01:00 committed by GitHub
parent 9b6baba5d5
commit 0e0818c8e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -924,7 +924,7 @@ exports.transliterate = function(str) {
};
exports.transliterateToSafeASCII = function(str) {
return str.replace(/[^\x00-\x7F]/g,function(ch) {
return str.replace(/[^\x20-\x7F]/g,function(ch) {
return exports.transliterationPairs[ch] || ""
});
};