diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-06-29 15:04:30 -0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2018-06-29 20:41:53 +0200 |
commit | f1da8711f724c5f72b17533d48a0f8939929eebf (patch) | |
tree | 8f8999e71a5bc0044605d73950c474ac8a44e4c0 /help3xsl | |
parent | 449352832e33a1bd9f17aab8039fc6f199917450 (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>
Diffstat (limited to 'help3xsl')
-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 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"> |