Commit 5adf5daa authored by mrodzis's avatar mrodzis 💪
Browse files

Fix bug in whitespace setting (cf. print#17 Rückert- Monument)

parent 9790efb0
......@@ -702,7 +702,7 @@ declare function fontaneSimple:transform($nodes as node()*, $uri as xs:string) a
fontaneSimple:transform($node/node(), $uri)
if(not($node//tei:abbr/text()[ends-with(., ":")]
or $node//text()[last()][ends-with(., "-")]
or ($node//text()[last()][ends-with(., "-")] or$node/following-sibling::*[1][self::tei:rs])
or $node/following::node()[1][self::text()][starts-with(., "-") or starts-with(., ".")])) then
text{" "}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment