1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-12 08:35:44 +01:00

Fix [[/]].

This commit is contained in:
Kris Maglione
2011-02-18 14:43:39 -05:00
parent 8fc61fb863
commit be5c6a4525
3 changed files with 46 additions and 45 deletions

View File

@@ -254,7 +254,7 @@ var Styles = Module("Styles", {
services["dactyl:"].providers["style"] = function styleProvider(uri) {
let id = /^\/(\d*)/.exec(uri.path)[1];
if (set.has(styles.allSheets, id))
return ["text/css", styles.allSheets[id].fullCSS];
return ["text/css", unescape(encodeURI(styles.allSheets[id].fullCSS))];
return null;
};
},