summaryrefslogtreecommitdiffstats
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2019-11-07 21:13:04 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2019-11-08 01:18:45 +0100
commit19c60db20e019c3fad935f5d9a9500585c3b82ae (patch)
tree719f8f11097621b61417372c921ae4a7a66df1a1 /help3xsl/online_transform.xsl
parentfaulty $[officename] and routine name adequate names (diff)
downloadhelp-19c60db20e019c3fad935f5d9a9500585c3b82ae.tar.gz
help-19c60db20e019c3fad935f5d9a9500585c3b82ae.zip
Fix missing %PRODUCTNAME replacements
Some contents were still carrying %PRODUCTNAME variable Apply template brand on <bascode>, <meta itemprop../> and <title> Change-Id: Ia93204cba63ba72d1df6014e3de37d7322c68029 Reviewed-on: https://gerrit.libreoffice.org/82256 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r--help3xsl/online_transform.xsl15
1 files changed, 12 insertions, 3 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index 14fc99c8eb..12d0807de3 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -280,9 +280,14 @@
<!-- BOOKMARK_VALUE -->
<xsl:template match="bookmark_value">
+ <xsl:variable name="aux1">
+ <xsl:call-template name="brand">
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
+ </xsl:variable>
<xsl:element name="meta">
<xsl:attribute name="itemprop">keywords</xsl:attribute>
- <xsl:attribute name="content"><xsl:value-of select="translate(.,';',',')"/></xsl:attribute>
+ <xsl:attribute name="content"><xsl:value-of select="translate($aux1,';',',')"/></xsl:attribute>
</xsl:element>
</xsl:template>
@@ -495,7 +500,9 @@
</xsl:when>
<xsl:when test="@role='bascode' or @role='pycode'">
- <xsl:value-of select="." />
+ <xsl:call-template name="brand">
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
</xsl:when>
<xsl:when test="@role='smathcode'">
@@ -540,7 +547,9 @@
</xsl:when>
<xsl:when test="@role='bascode' or @role='pycode'">
- <xsl:value-of select="." />
+ <xsl:call-template name="brand">
+ <xsl:with-param name="string" select="."/>
+ </xsl:call-template>
</xsl:when>
<xsl:when test="@role='smathcode'">