From 3d0815f708df98c370aa6edcdf9a1ba687b72fd0 Mon Sep 17 00:00:00 2001
From: MRodz <MRodz@users.noreply.github.com>
Date: Fri, 9 Feb 2018 10:19:21 +0100
Subject: [PATCH] deleted check for following elements

(no longer needed due to subsequent check for \s\n\t\r)
---
 modules/intermediate_format/preprocessing.xqm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/intermediate_format/preprocessing.xqm b/modules/intermediate_format/preprocessing.xqm
index 1c7d9fe..a6f2895 100644
--- a/modules/intermediate_format/preprocessing.xqm
+++ b/modules/intermediate_format/preprocessing.xqm
@@ -206,9 +206,9 @@ declare function pre:preprocessing
                                 ( $following-sibling[self::text() and not(normalize-space(.) = '')] and starts-with($following-sibling, " ") = true() )
                             ) then ( attribute {"clear"}{"left"} ) :)
                             
-                        else if ( $following-sibling[self::docAuthor or self::app or self::index or self::seg or self::bibl] ) then (
+                        (:else if ( $following-sibling[self::docAuthor or self::app or self::index or self::seg or self::bibl] ) then (
                             attribute {"break"}{"yes"}
-                        )
+                        ):)
                         
                         else if ( 
                             ( $preceding-sibling[matches(., "[\s\n\r\t]") and normalize-space(.) = ""] )
-- 
GitLab