1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-29 03:25:48 +01:00

Properly quote strings.

This commit is contained in:
Kris Maglione
2009-11-15 02:43:53 -05:00
parent a70f1c2926
commit f0c87aeae5
7 changed files with 17 additions and 17 deletions

View File

@@ -357,9 +357,9 @@ function Styles(name, store) {
const storage = modules.storage;
const ios = services.get("io");
const sss = Cc["@mozilla.org/content/style-sheet-service;1"].getService(Ci.nsIStyleSheetService);
const namespace = '@namespace html "' + XHTML + '";\n' +
'@namespace xul "' + XUL + '";\n' +
'@namespace liberator "' + NS.uri + '";\n';
const namespace = "@namespace html " + XHTML.uri.quote() + ";\n" +
"@namespace xul " + XUL.uri.quote() + ";\n" +
"@namespace liberator " + NS.uri.quote() + ";\n";
const Sheet = Struct("name", "id", "sites", "css", "system", "agent");
Sheet.prototype.__defineGetter__("fullCSS", function wrapCSS() {