summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmlhelp/util/compact.xsl5
1 files changed, 5 insertions, 0 deletions
diff --git a/xmlhelp/util/compact.xsl b/xmlhelp/util/compact.xsl
index 457c955e2a23..3b557fb90700 100644
--- a/xmlhelp/util/compact.xsl
+++ b/xmlhelp/util/compact.xsl
@@ -24,6 +24,11 @@
<!-- To remove attributes or nodes,
simply write a matching template that doesn't do anything.
Therefore, it is removed -->
+ <xsl:template match="image/@localize">
+ <xsl:copy>
+ <xsl:apply-templates select="@*[normalize-space()]|node()|text()"/>
+ </xsl:copy>
+ </xsl:template>
<xsl:template match="@localize"/>
<xsl:template match="@xml-lang"/>
<xsl:template match="alt"/>