From ad1f1cb741203f64d97d093981f1e58907ee8e96 Mon Sep 17 00:00:00 2001 From: Damien Lespiau Date: Thu, 5 Aug 2010 19:50:29 +0100 Subject: [PATCH] cookbook: Strip leading and trailing space inside programlisting It's a XSL FAQ to be able to chomp text nodes and we just have to copy and paste a XSLT 1.0 solution from: http://dpawson.co.uk/xsl/sect2/N8321.html#d11325e833 Let's then empower our cookbook customization layer to chomp text nodes, children of programlisting. --- doc/common/cookbook.xsl | 79 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) diff --git a/doc/common/cookbook.xsl b/doc/common/cookbook.xsl index 8c04ca82d..1362640d2 100644 --- a/doc/common/cookbook.xsl +++ b/doc/common/cookbook.xsl @@ -2,6 +2,85 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +