Skip to content
Snippets Groups Projects
Commit d8b64311 authored by uwe's avatar uwe
Browse files

tei:pb in its own line (preceded and followed by whitespace text()) flaged with @break='yes'

parent a0e3280a
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() and normalize-space(.) = ''] )
( $preceding-sibling[self::text()][matches(., "[\s\n\r\t]") and normalize-space(.) = ""] )
and
( $following-sibling[self::text() and normalize-space(.) = ''] )
( $following-sibling[self::text()][matches(., "[\s\n\r\t]") and normalize-space(.) = ""] )
) then (
attribute {"break"}{"yes"}
)
......
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