summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--help3xsl/online_transform.xsl6
1 files changed, 5 insertions, 1 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index c8be6611a8..eebaced568 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -786,9 +786,13 @@
<p id="{@id}" class="{$role}"><xsl:apply-templates /></p>
</xsl:template>
+<xsl:template match="bascode">
+ <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">
- <pre itemscope="true" itemtype="http://schema.org/SoftwareSourceCode" itemprop="codeSampleType" content="snippet"><xsl:apply-templates /></pre>
+ <pre><xsl:apply-templates /></pre>
</xsl:template>
<!-- Insert Logo code snippet -->