summaryrefslogtreecommitdiffstats
path: root/help3xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-06-29 15:04:30 -0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2018-06-29 20:40:42 +0200
commit31d1063a04542851398075346f3bab18a424e28d (patch)
treeae8c2164258b991de845e7b7af893c9a619fefa7 /help3xsl
parentFill help page for writer Style menu (diff)
downloadhelp-31d1063a04542851398075346f3bab18a424e28d.tar.gz
help-31d1063a04542851398075346f3bab18a424e28d.zip
Add mode="embed" for bascode
Embeded <bascode> was not properly rendered because it had no embed mode Change-Id: Icdc91c5b00b165d7963248f9083837b899d382f2 Reviewed-on: https://gerrit.libreoffice.org/56726 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'help3xsl')
-rw-r--r--help3xsl/online_transform.xsl3
1 files changed, 3 insertions, 0 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index ccfa94ae5a..8bfd5d31ba 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -868,6 +868,9 @@
<xsl:template match="bascode">
<div class="bascode" itemscope="true" itemtype="http://schema.org/SoftwareSourceCode" itemprop="codeSampleType" content="snippet"><xsl:apply-templates /></div>
</xsl:template>
+<xsl:template match="bascode" mode="embedded">
+ <div class="bascode" itemscope="true" itemtype="http://schema.org/SoftwareSourceCode" itemprop="codeSampleType" content="snippet"><xsl:apply-templates /></div>
+</xsl:template>
<!-- Insert Basic code snippet -->
<xsl:template name="insertbascode">