Skip to content

Commit

Permalink
Merge pull request #724 from TEIC/sydb_723_type_of_ab_to_class
Browse files Browse the repository at this point in the history
output `@class` for an `<ab>` that has a `@type`
  • Loading branch information
trishaoconnor authored Jan 28, 2025
2 parents 7c088a1 + 1a7fdb0 commit ae41e98
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion html/html_core.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,15 @@ of this software, even if advised of the possibility of such damage.
</xsl:if>
<xsl:call-template name="makeRendition">
<xsl:with-param name="default">false</xsl:with-param>
</xsl:call-template>
</xsl:call-template>
<xsl:if test="@type">
<xsl:attribute name="class">
<xsl:sequence select="@type"/>
<xsl:if test="@subtype">
<xsl:sequence select="' '||@subtype"/>
</xsl:if>
</xsl:attribute>
</xsl:if>
<xsl:apply-templates/>
</div>
</xsl:otherwise>
Expand Down

0 comments on commit ae41e98

Please sign in to comment.