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 --- source/02_data/articles.xsl | 32 ++++++++++++++------------------ source/99_result/article/article.xsl | 2 +- 2 files changed, 15 insertions(+), 19 deletions(-) (limited to 'source') diff --git a/source/02_data/articles.xsl b/source/02_data/articles.xsl index bbe6f40..b3ac0df 100644 --- a/source/02_data/articles.xsl +++ b/source/02_data/articles.xsl @@ -15,6 +15,19 @@ + + + + + + + + + /usr/bin/highlight.sh + + + + @@ -29,23 +42,6 @@ - - - - - - - - - - /usr/bin/highlight.sh - - - - - - - @@ -72,7 +68,7 @@ - + diff --git a/source/99_result/article/article.xsl b/source/99_result/article/article.xsl index a82dcb1..bd7ed14 100644 --- a/source/99_result/article/article.xsl +++ b/source/99_result/article/article.xsl @@ -34,7 +34,7 @@ | Adrian Kummerländer

- + -- cgit v1.2.3