Commit a1d3d5a1 authored by Mathias Goebel's avatar Mathias Goebel 🎠
Browse files

set a "column" class when justified content is detected

parent b7bef0ec
......@@ -263,7 +263,12 @@ typeswitch($node)
return
try {
element xhtml:div {
attribute class {'line', fontaneTransfo:segStyle($node), if($node/@type) then string($node/@type) else ()},
attribute class {
'line',
fontaneTransfo:segStyle($node),
if($node/@type) then string($node/@type) else (),
if($node/tei:seg[@type="col"][@n]) then "column" else ()
},
attribute style {
string-join((
($node/@style),
......
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