help3xsl/online_transform.xsl | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 31d1063a04542851398075346f3bab18a424e28d
Author: Olivier Hallot <[email protected]>
Date: Fri Jun 29 15:04:30 2018 -0300
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 <[email protected]>
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index ccfa94ae5..8bfd5d31b 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">
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits