Commit 002aaf9d authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

put style on top of standalone rend

parent f2691dbb
......@@ -567,7 +567,7 @@ declare function transfo:seg($node as element(tei:seg)) {
: or @rend or to calculate line-height.
:)
declare function transfo:segStyle($node) {
let $style := $node/@style
let $style := $node/@style || (if(not($node/@style) and $node/@rend and $node/parent::*/@style) then (" " || $node/parent::*/@style) else ())
let $rend := $node/@rend
let $type:= if(($node/local-name() = ("seg", "zone")) and ($node/@type = "cancel"))
then
......
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