Compare commits

...

2 Commits

1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ proc ::js::_unescape {str} {
proc ::js::escape {str} {
return [subst -nobackslashes -novariables \
[regsub -all -- {[^A-Za-z0-9@*_+-./]+} $str \
[regsub -all -- {[^A-Za-z0-9@*_+./-]+} $str \
{[::js::_escape {&}]}]]
}