diff options
author | Shaun McCance <shaunm@redhat.com> | 2018-10-14 15:01:02 -0400 |
---|---|---|
committer | Shaun McCance <shaunm@redhat.com> | 2018-10-15 09:54:24 -0400 |
commit | 30a542d15625fc76495d4b50d1e896460c22a6cb (patch) | |
tree | f0d2f0a754b87230f6d7b45f0fffa4d57258976f /xslt/mallard/html/mal2html-page.xsl | |
parent | 77e523204fa86fe730734ed7d669cbb9fbbb3feb (diff) | |
download | yelp-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.xsl | 6 |
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"> |