mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-29 08:54:28 +00:00
[Basilisk] [ui] Encode braille space
This commit is contained in:
@@ -2429,9 +2429,9 @@ function losslessDecodeURI(aURI) {
|
||||
}
|
||||
|
||||
// Encode invisible characters (C0/C1 control characters, U+007F [DEL],
|
||||
// U+00A0 [no-break space], line and paragraph separator,
|
||||
// object replacement character) (bug 452979, bug 909264)
|
||||
value = value.replace(/[\u0000-\u001f\u007f-\u00a0\u2028\u2029\ufffc]/g,
|
||||
// U+00A0 [no-break space], line and paragraph separator, braille space
|
||||
// object replacement character) (bug 452979, bug 909264, bug 1629506)
|
||||
value = value.replace(/[\u0000-\u001f\u007f-\u00a0\u2028\u2029\u2800\ufffc]/g,
|
||||
encodeURIComponent);
|
||||
|
||||
// Encode default ignorable characters (bug 546013)
|
||||
|
||||
Reference in New Issue
Block a user