[Libreoffice-commits] help.git: help3xsl/online_transform.xsl

Olivier Hallot olivier.hallot at libreoffice.org
Fri Jun 29 18:41:12 UTC 2018


 help3xsl/online_transform.xsl |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 31d1063a04542851398075346f3bab18a424e28d
Author: Olivier Hallot <olivier.hallot at libreoffice.org>
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 <olivier.hallot at libreoffice.org>

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">


More information about the Libreoffice-commits mailing list