Doxygen represents all spacing in code blocks with <sp/> tags, so these
need to be turned back into spaces.

Signed-off-by: Benjamin Herr <b...@0x539.de>
---
 doc/publican/doxygen-to-publican.xsl | 4 ++++
 1 file changed, 4 insertions(+)

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>
-- 
2.1.1

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to