Fix [[/]].

This commit is contained in:
Kris Maglione committed 2011-02-18 14:43:39 -05:00
1 parent 8fc61fb863
commit be5c6a4525
3 files changed
+46 -45

No files matched your search

+1 -1
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;
};
},