summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Herr <ben@0x539.de>2014-09-29 17:26:13 +0200
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-11-03 15:53:01 +0200
commit4a661c5b0c9c66102a142cd8d327dcad8007f1d7 (patch)
treee7421c8057ea0ed49fac4e9a21349ea6473d3d32
parent6b511090c5d9ec9116538c9a6cc97a7487bbca75 (diff)
doc: Translate doxygen <sp/> tags to spaces
Doxygen represents all spacing in code blocks with <sp/> tags, so these need to be turned back into spaces. Signed-off-by: Benjamin Herr <ben@0x539.de>
-rw-r--r--doc/publican/doxygen-to-publican.xsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/publican/doxygen-to-publican.xsl b/doc/publican/doxygen-to-publican.xsl
index 8ef5614..b6ca5f3 100644
--- a/doc/publican/doxygen-to-publican.xsl
+++ b/doc/publican/doxygen-to-publican.xsl
@@ -104,6 +104,10 @@
<emphasis>Note: <xsl:apply-templates /></emphasis>
</xsl:template>
+<xsl:template match="programlisting//sp">
+ <xsl:text> </xsl:text>
+</xsl:template>
+
<xsl:template match="programlisting">
<programlisting><xsl:apply-templates /></programlisting>
</xsl:template>