Skip to content

Commit 02136a4

Browse files
authored
Merge pull request #63 from nationalarchives/fix/coverpage-paragraphs
CLP-10612 <p> elements within <coverPage>
2 parents 0c816a3 + 90e3cc1 commit 02136a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/ml-modules/root/judgments/xslts/accessible-html.xsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@
466466
<xsl:sequence select="uk:get-style-or-class-property($p, 'text-align', $context)" />
467467
</xsl:function>
468468

469-
<xsl:template match="header//p[not(parent::blockContainer)][not(ancestor::authorialNote)]">
469+
<xsl:template match="header//p[not(parent::blockContainer)][not(ancestor::authorialNote)] | coverPage/p">
470470
<xsl:param name="class-context" as="element()" tunnel="yes" />
471471
<xsl:choose>
472472
<xsl:when test="exists(child::img) and (every $block in preceding-sibling::* satisfies $block/@name = 'restriction')">

0 commit comments

Comments
 (0)