1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-19 06:45:46 +01:00

Add cheap HTML prettifier.

This commit is contained in:
Kris Maglione
2012-12-16 19:21:33 -08:00
parent fa204e3b96
commit 1aaf3f75aa
4 changed files with 184 additions and 34 deletions

View File

@@ -315,7 +315,7 @@ var Help = Module("Help", {
if (isinstance(node, [Ci.nsIDOMHTMLBaseElement]))
return;
data.push("<"); data.push(node.localName);
data.push("<", node.localName);
if (node instanceof Ci.nsIDOMHTMLHtmlElement)
data.push(" xmlns=" + XHTML.uri.quote(),
" xmlns:dactyl=" + NS.uri.quote());