Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fontane-notizbuecher
SADE
Commits
b9c84313
Commit
b9c84313
authored
Jul 25, 2019
by
Mathias Goebel
Browse files
fix class names starting with a digit
parent
3899d17d
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
modules/fontane/transform.xqm
View file @
b9c84313
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment