mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-04 11:58:03 +00:00
Transliterate control characters in site title (#8339)
This commit is contained in:
@@ -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] || ""
|
||||
});
|
||||
};
|
||||
|
Reference in New Issue
Block a user