Open JonathanReeve opened 6 years ago
replace lb template by:
<xsl:template match="lb">
<xsl:apply-templates/>
<xsl:if test="@n mod 5 = 0" >
<span class="tag lineNumber">
<xsl:value-of select="@n" />
</span>
</xsl:if>
<xsl:if test="./ancestor::p">
<br/>
</xsl:if>
</xsl:template>
Thanks for this! That's a big help. Would you mind submitting this as a pull request? If you're too busy, don't worry about it—I'd be happy to make the change myself—but if you do it, you'll get the contribution credit on GitHub!
A user started working on this issue via WorksHub.
The CSS doesn't add any extra margins (
margin: 0
), buttags in the XSL do.