From 108f467fe45ee18035d38ba54a64c9ce995c2fe5 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Mon, 2 Nov 2009 00:18:58 -0500 Subject: [PATCH] Completely HTML-ize help transforms. Add intentionally undocumented :exporthelp. --- common/components/protocols.js | 2 +- common/content/help.xsl | 228 +++++++++++++++++++----------- common/content/liberator.js | 29 ++++ common/content/services.js | 1 + common/content/style.js | 102 +++++++------ common/content/util.js | 125 ++++++++++++++-- muttator/content/config.js | 14 -- vimperator/content/config.js | 14 -- vimperator/locale/en-US/intro.xml | 6 +- xulmus/content/config.js | 14 -- 10 files changed, 354 insertions(+), 181 deletions(-) diff --git a/common/components/protocols.js b/common/components/protocols.js index c906d031..6cbacd2a 100644 --- a/common/components/protocols.js +++ b/common/components/protocols.js @@ -46,7 +46,7 @@ function fakeChannel(orig) function redirect(to, orig) { let html = .toXMLString(); - return makeChannel(dataURL('text/html', html), orig); + return makeChannel(dataURL('text/html', html), ioServices.newURI(to, null, null)); } function ChromeData() {} diff --git a/common/content/help.xsl b/common/content/help.xsl index 4a6cc8cc..7a19e1e9 100644 --- a/common/content/help.xsl +++ b/common/content/help.xsl @@ -2,9 +2,9 @@ - +
- +
@@ -94,21 +94,20 @@ - - - - - + + <xsl:value-of select="@title"/> +