[gtk-doc] xsl: save some whitespace



commit 41332c74563adef97c9d8bcef2f4eb265b96c0f3
Author: Stefan Sauer <ensonic users sf net>
Date:   Tue May 12 08:08:35 2015 +0200

    xsl: save some whitespace
    
    Wrap generated text in xsl:text tags to avoid outputting extra whitespace.

 gtk-doc.xsl |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk-doc.xsl b/gtk-doc.xsl
index 992fd9d..f0b6f9d 100644
--- a/gtk-doc.xsl
+++ b/gtk-doc.xsl
@@ -416,10 +416,10 @@ Get a newer version at http://docbook.sourceforge.net/projects/xsl/
       <hr />
       <xsl:choose>
         <xsl:when test="$gtkdoc.version">
-          Generated by GTK-Doc V<xsl:copy-of select="$gtkdoc.version" />
+          <xsl:text>Generated by GTK-Doc V</xsl:text><xsl:copy-of select="$gtkdoc.version" />
         </xsl:when>
         <xsl:otherwise>
-          Generated by GTK-Doc
+          <xsl:text>Generated by GTK-Doc</xsl:text>
         </xsl:otherwise>
       </xsl:choose>
     </div>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]