mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 07:42:29 +02:00
Fix options.dtd generation bug.
This commit is contained in:
1 parent
1360c6d690
commit
222ef1c16a
2 files changed
+2
-2
No files matched your search
@@ -752,7 +752,7 @@ var Options = Module("options", {
|
||||
services["dactyl:"].pages["options.dtd"] = function () [null,
|
||||
util.makeDTD(
|
||||
iter(([["option", o.name, "default"].join("."),
|
||||
o.type === "string" ? o.value.replace(/'/g, "''") :
|
||||
o.type === "string" ? o.defaultValue.replace(/'/g, "''") :
|
||||
o.value === true ? "on" :
|
||||
o.value === false ? "off" : o.stringDefaultValue]
|
||||
for (o in self)),
|
||||
|
||||
Reference in new issue
Block a user