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

add support for squared bracket in metamark

parent 718fe73c
......@@ -1670,7 +1670,10 @@ element xhtml:span {
then
attribute style { 'font-size:' || $num ||'cm;' }
else (),
<xhtml:span class="bracket_left" style="transform: scaleX({1 div ceiling($num)});">&#123;</xhtml:span>
<xhtml:span class="bracket_left" style="transform: scaleX({1 div ceiling($num)});">{
if($node/@rend = "bracket_left")
then "&#123;"
else "&#91;"}</xhtml:span>
)
else (),
if(contains($node/@rend, 'bracket_right'))
......@@ -1686,7 +1689,10 @@ element xhtml:span {
}
)
else ()
}&#125;</xhtml:span>
}{
if($node/@rend = "bracket_right")
then "&#125;"
else "&#93;"}</xhtml:span>
else (),
if(matches($node, '#|╒|/|\*')) then
<xhtml:div class="metamarkHover"> Einweisungszeichen </xhtml:div>
......
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