summaryrefslogtreecommitdiffstats
path: root/help3xsl/online_transform.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'help3xsl/online_transform.xsl')
-rw-r--r--help3xsl/online_transform.xsl19
1 files changed, 17 insertions, 2 deletions
diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl
index ad285480de..5fa01a773b 100644
--- a/help3xsl/online_transform.xsl
+++ b/help3xsl/online_transform.xsl
@@ -538,7 +538,7 @@
</xsl:call-template>
</xsl:when>
- <xsl:when test="contains(' note warning tip ',@role)">
+ <xsl:when test="@role='note' or @role='tip' or @role='warning'">
<xsl:call-template name="insertnote">
<xsl:with-param name="type" select="@role" />
</xsl:call-template>
@@ -552,6 +552,10 @@
<xsl:value-of select="." />
</xsl:when>
+ <xsl:when test="@role='smathcode'">
+ <p id="{@id}" class="smathcode"><span class="input" data-tooltip="{$ui_copyclip}"><xsl:apply-templates /></span></p>
+ </xsl:when>
+
<xsl:when test="@role='logocode'">
<xsl:call-template name="insertlogocode" />
</xsl:when>
@@ -579,7 +583,7 @@
</xsl:call-template>
</xsl:when>
- <xsl:when test="contains(' note warning tip ',@role)">
+ <xsl:when test="@role='note' or @role='tip' or @role='warning'">
<xsl:call-template name="insertnote">
<xsl:with-param name="type" select="@role" />
</xsl:call-template>
@@ -589,6 +593,17 @@
<xsl:apply-templates />
</xsl:when>
+ <xsl:when test="@role='bascode' or @role='pycode'">
+ <xsl:value-of select="." />
+ </xsl:when>
+
+ <xsl:when test="@role='smathcode'">
+ <p id="{@id}" class="smathcode"><span class="input" data-tooltip="{$ui_copyclip}"><xsl:apply-templates /></span></p>
+ </xsl:when>
+
+ <xsl:when test="@role='logocode'">
+ <xsl:call-template name="insertlogocode" />
+ </xsl:when>
<xsl:otherwise>
<xsl:call-template name="insertpara" />
</xsl:otherwise>