From 4ba35f4999514043d2ff420779cb07cedb8b0d96 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Wed, 6 Aug 2014 23:49:20 +0200 Subject: Improved automatic source code highlighting * disable indentation in both the page and datasource master stylesheets ** indentation was interfering with correct output of formatted code * simplified call to formatter helper template --- utility/datasource.xsl | 2 +- utility/formatter.xsl | 2 +- utility/master.xsl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'utility') diff --git a/utility/datasource.xsl b/utility/datasource.xsl index ce31d41..411086a 100644 --- a/utility/datasource.xsl +++ b/utility/datasource.xsl @@ -8,7 +8,7 @@ method="xml" omit-xml-declaration="no" encoding="UTF-8" - indent="yes" + indent="no" /> diff --git a/utility/formatter.xsl b/utility/formatter.xsl index 49d8630..0f7643e 100644 --- a/utility/formatter.xsl +++ b/utility/formatter.xsl @@ -14,7 +14,7 @@ + )/self::output/node()"/> diff --git a/utility/master.xsl b/utility/master.xsl index c682072..66cfdb3 100644 --- a/utility/master.xsl +++ b/utility/master.xsl @@ -10,7 +10,7 @@ doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" omit-xml-declaration="yes" encoding="UTF-8" - indent="yes" + indent="no" /> -- cgit v1.2.3