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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user