• Added a horizontal-rule element. (I’m amazed we’ve never needed one before now!)
1 parent a1e8b59 commit 33102e3546594d0a9af833c4f864d7e8a4c8557a
Nigel Stanger authored on 3 Aug 2014
Showing 1 changed file
View
30
modules/basic-page-elements.xml
<!-- For the moment we'll just throw in a <br /> :). -->
<br clear="left" />
</common>
</template>
 
<!--
Generate a horizontal rule the width of the column.
-->
<template name="horizontal-rule" match="horizontal-rule|hrule|hr">
<common formats="/latex/xelatex/">
<xsl:text>\hrule</xsl:text>
<xsl:call-template name="newline-internal" />
</common>
<common formats="/html/xhtml/">
<xsl:element name="hr" />
</common>
</template>
 
</stylesheet>