author | Cameron McCormack <cam@mcc.id.au> |
Fri, 18 May 2012 15:50:06 +1000 | |
changeset 25 | a501318e854c |
parent 24 | a4506dff8291 |
child 26 | a0b36f565b39 |
publish.xsl |
--- a/publish.xsl Fri May 18 13:31:01 2012 +1000 +++ b/publish.xsl Fri May 18 15:50:06 2012 +1000 @@ -194,9 +194,8 @@ </head> <body> <xsl:attribute name='class'> - <xsl:value-of select='@class'/> - <xsl:if test='@class != ""'> - <xsl:text> </xsl:text> + <xsl:if test='body/@class != ""'> + <xsl:value-of select='concat(body/@class, " ")'/> </xsl:if> <xsl:value-of select='concat("chapter-", $chapter-name)'/> </xsl:attribute>