1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-13 23:45:47 +01:00

Fix user :commands and other minor cleanup.

--HG--
extra : rebase_source : 1cff53f18c70b12a984d120e73d121dc2267dcc9
This commit is contained in:
Kris Maglione
2010-12-31 12:40:44 -05:00
parent 4eb8682f28
commit c6f5b04cda
5 changed files with 13 additions and 11 deletions

View File

@@ -96,7 +96,7 @@ var Template = Module("Template", {
let tag = (/^'.*'$/.test(topic) ? "o" :
/^:\w/.test(topic) ? "ex" : "k");
topic = topic.replace(/^'(.*)'$/, "$1");
return <{tag} xmlns={NS}>{topic}</{tag}>
return <{tag} xmlns={NS}>{topic}</{tag}>
},
// if "processStrings" is true, any passed strings will be surrounded by " and