From 466a4c7c22997ce016719a051d72af8371bb8863 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Thu, 3 Nov 2022 20:51:23 -0400 Subject: [PATCH] Move whitespace handling templates into a separate file. This is pretty independent of anything else so we can use an xsl:include to pull it in. Also remove duplicate definition of f:ends-with which is in the same area. --- layouts/default.xsl | 81 +--------------------------- layouts/whitespace.xsl | 116 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+), 80 deletions(-) create mode 100644 layouts/whitespace.xsl diff --git a/layouts/default.xsl b/layouts/default.xsl index 7681933..a9a75df 100644 --- a/layouts/default.xsl +++ b/layouts/default.xsl @@ -35,13 +35,6 @@ - - - - - - @@ -52,79 +45,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/layouts/whitespace.xsl b/layouts/whitespace.xsl new file mode 100644 index 0000000..c15639a --- /dev/null +++ b/layouts/whitespace.xsl @@ -0,0 +1,116 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.43.0