summaryrefslogtreecommitdiff
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-01-18 09:34:15 +0200
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-01-25 16:40:00 +0100
commit919def267b89cfe03f40218baa8c16cf65526448 (patch)
treed7be260ec34a9ca56256b395a1be7170effede93 /help3xsl/online_transform.xsl
parente1da23a649197d960c8492373326e11286b3239e (diff)
tdf#123318 tdf#129697 Don't hardcode product name in CSS and JS
Change-Id: I0ef315146fed188eb1cf33c416ff5f3e9899bbae Reviewed-on: https://gerrit.libreoffice.org/c/help/+/128524 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r--help3xsl/online_transform.xsl8
1 files changed, 4 insertions, 4 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 7ccb97b766..c9b9a80928 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -139,7 +139,7 @@
<xsl:if test="$online">
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-inline' 'unsafe-eval' piwik.documentfoundation.org"/>
</xsl:if>
- <title><xsl:value-of select="$titleL10N"/></title>
+ <title><xsl:value-of disable-output-escaping="yes" select="$titleL10N"/></title>
<link rel="shortcut icon" href="media/navigation/favicon.ico"/>
<link type="text/css" href="normalize.css" rel="Stylesheet"/>
<link type="text/css" href="default.css" rel="Stylesheet"/>
@@ -164,7 +164,7 @@
<div></div>
</a>
<a class="logo" href="{$lang}/text/shared/05/new_help.html">
- <p><xsl:value-of select="$ui_logo"/></p>
+ <p><xsl:value-of disable-output-escaping="yes" select="$ui_logo"/></p>
</a>
<div class="dropdowns">
<div class="modules">
@@ -256,7 +256,7 @@
<div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p>This page is: <a href="https://opengrok.libreoffice.org/xref/help/source{$filename}" target="_blank"><xsl:value-of select="$filename"/></a></p>
- <p>Title is: <xsl:value-of select="$title"/></p>
+ <p>Title is: <xsl:value-of disable-output-escaping="yes" select="$title"/></p>
<p id="bm_module"></p>
<p id="bm_system"></p>
<p id="bm_HID"></p>
@@ -915,7 +915,7 @@
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="$string"/>
+ <xsl:value-of disable-output-escaping="yes" select="$string"/>
</xsl:otherwise>
</xsl:choose>