Skip to content

Commit

Permalink
Add abstract/para in article.titlepage.recto.auto.mode
Browse files Browse the repository at this point in the history
Reported by Meike.

In abstract/para there were no <p> tags in the output. Which lead to
a wall of text without linebreaks.

Solution was to introduce a rule that matches d:abstract/d:para in
mode article.titlepage.recto.auto.mode.
  • Loading branch information
tomschr committed Feb 20, 2024
1 parent 9dd7da9 commit b156847
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sbp/xhtml/titlepage.templates.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,12 @@
</xsl:template>


<xsl:template match="d:abstract/d:para" mode="article.titlepage.recto.auto.mode">
<p>
<xsl:apply-templates/>
</p>
</xsl:template>

<xsl:template match="d:author[d:personname]|d:editor[d:personname]|d:othercredit[d:personname]" mode="authorgroup">
<xsl:param name="withlabel" select="1"/>
<!--<xsl:message>d:<xsl:value-of select="local-name(.)"/>[d:personname]</xsl:message> -->
Expand Down

0 comments on commit b156847

Please sign in to comment.