Skip to content
Snippets Groups Projects
Unverified Commit 7df36dc6 authored by MRodz's avatar MRodz Committed by GitHub
Browse files

Predicate [self::text()] causes trouble.

parent a69dfd44
No related branches found
No related tags found
No related merge requests found
......@@ -211,9 +211,9 @@ declare function pre:preprocessing
)
else if (
( $preceding-sibling[self::text()][matches(., "[\s\n\r\t]") and normalize-space(.) = ""] )
( $preceding-sibling[matches(., "[\s\n\r\t]") and normalize-space(.) = ""] )
and
( $following-sibling[self::text()][matches(., "[\s\n\r\t]") and normalize-space(.) = ""] )
( $following-sibling[matches(., "[\s\n\r\t]") and normalize-space(.) = ""] )
) then (
attribute {"break"}{"yes"}
)
......@@ -261,4 +261,4 @@ declare function pre:preprocessing
default return (
pre:default-element( $node, pre:preprocessing($node/node()) )
)
};
\ No newline at end of file
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment