Commit bea8ac2f authored by MRodz's avatar MRodz Committed by mrodzis
Browse files

Add restriction for text()

parent 5dd52e7a
......@@ -69,7 +69,13 @@ declare function fontaneSimple:transform($nodes as node()*) as node()* {
return
typeswitch ($node)
case text() return
simpleHelpers:prepare-text($node)
if($node/ancestor::tei:line
or $node/ancestor::tei:figDesc
or $node/ancestor::tei:desc[@type = "edited_text"]
or $node/ancestor::tei:note[@type = "editorial"]) then
simpleHelpers:prepare-text($node)
else
()
case element(tei:lb) return
if($node[@break = "keepHyphen"]) then
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
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