diff --git a/common/content/dactyl.js b/common/content/dactyl.js index cfca1372..b67928d9 100644 --- a/common/content/dactyl.js +++ b/common/content/dactyl.js @@ -754,6 +754,16 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), { return res; } + let body = rec(NEWS, 0); + for each (let li in body..li) { + let list = li..li.(@NS::highlight == "HelpNewsOld"); + if (list.length() && list.length() == li..li.length()) { + for each (let li in list) + li.@NS::highlight = ""; + li.@NS::highlight = "HelpNewsOld"; + } + } + XML.prettyPrinting = XML.ignoreWhitespace = false; return ["application/xml", '\n' + @@ -765,7 +775,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {

{config.appName} Versions

- {rec(NEWS, 0)} + {body} .toXMLString())) ]; }