#footer p { color: $annotationcolour; }
#article-info p { font-style: italic; }
+.wbr:after { content: "\200b"; }
+
// "unordered" lists with explicit ordering in content
ul.ordered > {
li { list-style: none; }
<pre>⁠<code><xsl:value-of select='f:strip-leading(.)' /></code></pre>
</xsl:template>
+<!--
+ Attempt to wrap the first bit of linked email addresses to allow
+ linewrapping to occur after the '@'.
+-->
+<xsl:template match='xhtml:a[starts-with(@href,"mailto:")]/text()'>
+ <xsl:variable name='addr' select='substring-after(../@href, "mailto:")' />
+
+ <xsl:variable name='wrap'
+ select='concat(substring-before($addr, "@"), "@")' />
+
+ <xsl:choose>
+ <xsl:when test='contains(., $wrap)'>
+ <xsl:value-of select='substring-before(., $wrap)' />
+ <span class='wbr'>
+ <xsl:value-of select='$wrap' />
+ </span>
+ <xsl:value-of select='substring-after(., $wrap)' />
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:copy />
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
<!--
Add a simple way to reference a document node by ID and include the XHTML
code listing directly in the document.