summaryrefslogtreecommitdiff
path: root/help3xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2022-11-10 13:16:14 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2022-11-10 18:05:52 +0100
commit05ca41502856e01755d7de748789cdfefd5e6d16 (patch)
tree82b1a1300eeb1e888846cbee04be18dced7b40c0 /help3xsl
parent4f452d1d8432a93eb41d5d0f90c2e0b5947e0e53 (diff)
tdf#150909 Fix regression: HTML entities badly rendered
The "branding" XSL template is applied to every text in the Help to replace %PRODUCTNAME or [$officename] by the correct product name. It must not escape HTML entities such as &lt; or other. Reverted previous workaround in xhp page. Change-Id: I1f7da19ca2899d92917504f162ba497bd9c787bb Reviewed-on: https://gerrit.libreoffice.org/c/help/+/142555 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/online_transform.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 6176574c33..c398e97a5e 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -900,7 +900,7 @@
</xsl:when>
<xsl:otherwise>
- <xsl:value-of disable-output-escaping="yes" select="$string"/>
+ <xsl:value-of select="$string"/>
</xsl:otherwise>
</xsl:choose>