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

Merge pull request #1 from MRodz/dev

Predicate [self::text()] causes trouble.
parents a69dfd44 7df36dc6
No related branches found
No related tags found
No related merge requests found
...@@ -211,9 +211,9 @@ declare function pre:preprocessing ...@@ -211,9 +211,9 @@ declare function pre:preprocessing
) )
else if ( 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 and
( $following-sibling[self::text()][matches(., "[\s\n\r\t]") and normalize-space(.) = ""] ) ( $following-sibling[matches(., "[\s\n\r\t]") and normalize-space(.) = ""] )
) then ( ) then (
attribute {"break"}{"yes"} attribute {"break"}{"yes"}
) )
...@@ -261,4 +261,4 @@ declare function pre:preprocessing ...@@ -261,4 +261,4 @@ declare function pre:preprocessing
default return ( default return (
pre:default-element( $node, pre:preprocessing($node/node()) ) 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