diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-06-29 15:04:30 -0300 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2018-08-07 17:58:33 +0200 |
commit | b4619e089d4637b541fe3108081d5100059e4ce0 (patch) | |
tree | af215f5b328ef2c2fbb828d6dd639e1d1b11b63c | |
parent | c924eeb02ae132ebc10ed5f01e45e565aaa53694 (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>
-rw-r--r-- | help3xsl/online_transform.xsl | 3 |
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"> |