Skip to content

Commit

Permalink
Merge pull request #108 from nationalarchives/table-wrappers
Browse files Browse the repository at this point in the history
FCL-379 table wrappers
  • Loading branch information
jurisdatum authored Oct 14, 2024
2 parents 0892ce8 + 0c6d431 commit ad24c82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/ml-modules/root/judgments/xslts/accessible-html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -763,6 +763,7 @@
<!-- tables -->

<xsl:template match="table">
<div class="judgment-body__table">
<table>
<xsl:variable name="header-rows" as="element()*" select="*[child::th]" />
<xsl:if test="exists($header-rows)">
Expand All @@ -778,6 +779,7 @@
</xsl:apply-templates>
</tbody>
</table>
</div>
</xsl:template>

<xsl:template match="tr | th | td">
Expand Down

0 comments on commit ad24c82

Please sign in to comment.