summaryrefslogtreecommitdiff
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@libreoffice.org>2018-06-29 15:04:30 -0300
committerJan Holesovsky <kendy@collabora.com>2018-08-07 17:58:33 +0200
commitb4619e089d4637b541fe3108081d5100059e4ce0 (patch)
treeaf215f5b328ef2c2fbb828d6dd639e1d1b11b63c /help3xsl/online_transform.xsl
parentc924eeb02ae132ebc10ed5f01e45e565aaa53694 (diff)
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/online_transform.xsl')
-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 0048513b87..5fc4dba44f 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">