xmlhelp/util/compact.xsl | 5 +++++ 1 file changed, 5 insertions(+) New commits: commit f5174c89cd037d35b975590083cf91b36633808d Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Oct 26 17:51:24 2015 +0100
...but do not erase localize attributes from image elements ...as these are used in xmlhelp/util/main_transform.xsl at runtime Change-Id: I097cb79f660386d7fa2d97e7115f689a1e442fe2 diff --git a/xmlhelp/util/compact.xsl b/xmlhelp/util/compact.xsl index 457c955..3b557fb 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"/> _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits