Mercurial > urweb
diff lib/js/urweb.js @ 927:d136bc34e4ca
Debugging new string urlification
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 12 Sep 2009 10:31:34 -0400 |
parents | 552c989c1601 |
children | 7710f65935b6 |
line wrap: on
line diff
--- a/lib/js/urweb.js Sat Sep 12 09:31:50 2009 -0400 +++ b/lib/js/urweb.js Sat Sep 12 10:31:34 2009 -0400 @@ -473,6 +473,8 @@ function uu(s) { if (s.length > 0 && s[0] == '_') s = s.substring(1); + else if (s.length >= 3 && s[0] == '%' && s[1] == '5' && (s[2] == 'f' || s[2] == 'F')) + s = s.substring(3); return unescape(s.replace(new RegExp ("\\+", "g"), " ")); }