1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-04 23:04:16 +01:00

Add tags et al. for the versions help page.

--HG--
branch : key-processing
This commit is contained in:
Štěpán Němec
2011-01-24 21:58:33 +01:00
parent 2b7906cf8c
commit 5e8a11fe69
2 changed files with 3 additions and 4 deletions

View File

@@ -22,9 +22,7 @@ by Kris Maglione, Doug Kearns, et al.
type :q&lt;<span class="key">Enter</span>> to exit <!---->
type :help&lt;<span class="key">Enter</span>> or &lt;<span class="key">F1</span>> for on-line help
type :help faq&lt;<span class="key">Enter</span>> for the FAQ page
<!--
type :help version-&dactyl.version;&lt;<span class="key">Enter</span>> for version info
-->
type :help versions&lt;<span class="key">Enter</span>> for version info
</div>
<spring flex="1"/>
</hbox>

View File

@@ -708,13 +708,14 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
unescape(encodeURI( // UTF-8 handling hack.
<document xmlns={NS}
name="versions" title={config.appName + " Versions"}>
<h1 tag="versions">Versions</h1>
<h1 tag="versions news">{config.appName} Versions</h1>
<toc start="2"/>
{rec(NEWS, 0)}
</document>.toXMLString()))
]
}
addTags("versions", util.httpGet("dactyl://help/versions").responseXML);
default xml namespace = NS;