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

fix class names starting with a digit

parent 3899d17d
......@@ -610,7 +610,11 @@ let $seq :=
for $s in tokenize(replace(replace($style, 'radius:', 'radius'), '\s|\.|%|-style', ''), ';')
where not(matches($s, "^margin\-left:\d{1,2}\.{0,1}\d{0,1}cm$"))
return
tokenize($s, ':')
tokenize($s, ':') !
(
(if (matches(., "^\d")) then ("d" || .) else .)
! (if(matches(., "^\-")) then ("minus" || .) else .)
)
let $rendSeq :=
for $r in tokenize(replace($rend, '\s', ''), ';')
return
......
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