Skip to content
This repository has been archived by the owner on Oct 17, 2021. It is now read-only.

Process linebreaks and rules for xhtml #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docbook-xsl/xhtml.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,15 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl"/>
<xsl:import href="common.xsl"/>

<!-- Line break -->
<xsl:template match="processing-instruction('asciidoc-br')">
<br/>
</xsl:template>

<!-- Horizontal ruler -->
<xsl:template match="processing-instruction('asciidoc-hr')">
<hr/>
</xsl:template>

</xsl:stylesheet>