summaryrefslogtreecommitdiff
path: root/xslt/mallard/html/mal2html-page.xsl
diff options
context:
space:
mode:
authorShaun McCance <shaunm@redhat.com>2018-10-14 15:01:02 -0400
committerShaun McCance <shaunm@redhat.com>2018-10-15 09:54:24 -0400
commit30a542d15625fc76495d4b50d1e896460c22a6cb (patch)
treef0d2f0a754b87230f6d7b45f0fffa4d57258976f /xslt/mallard/html/mal2html-page.xsl
parent77e523204fa86fe730734ed7d669cbb9fbbb3feb (diff)
downloadyelp-xsl-30a542d15625fc76495d4b50d1e896460c22a6cb.tar.gz
Added ui-expander-preview style for elements with ui:expanded
Diffstat (limited to 'xslt/mallard/html/mal2html-page.xsl')
-rw-r--r--xslt/mallard/html/mal2html-page.xsl6
1 files changed, 3 insertions, 3 deletions
diff --git a/xslt/mallard/html/mal2html-page.xsl b/xslt/mallard/html/mal2html-page.xsl
index d03b274e..f2ce208e 100644
--- a/xslt/mallard/html/mal2html-page.xsl
+++ b/xslt/mallard/html/mal2html-page.xsl
@@ -755,9 +755,9 @@ templates that handle `page` and `section` elements.
<xsl:call-template name="html.class.attr">
<xsl:with-param name="node" select="$node"/>
<xsl:with-param name="class">
- <xsl:if test="@ui:expanded or @uix:expanded">
- <xsl:text>ui-expander</xsl:text>
- </xsl:if>
+ <xsl:call-template name="mal2html.ui.expander.class">
+ <xsl:with-param name="node" select="$node"/>
+ </xsl:call-template>
</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="mal2html.ui.expander.data">