summaryrefslogtreecommitdiff
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:41:53 +0200
commitf1da8711f724c5f72b17533d48a0f8939929eebf (patch)
tree8f8999e71a5bc0044605d73950c474ac8a44e4c0
parent449352832e33a1bd9f17aab8039fc6f199917450 (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/56729 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
-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">