Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
ee85cf77
Commit
ee85cf77
authored
Nov 11, 2016
by
Alexandre Duret-Lutz
Browse files
* tests/python/ipnbdoctest.py: Ignore more SVG differences.
parent
85f6e0e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/python/ipnbdoctest.py
View file @
ee85cf77
...
...
@@ -92,6 +92,8 @@ def sanitize(s):
s
=
re
.
sub
(
r
'height="[0-9.]+pt"'
,
'height=""'
,
s
)
s
=
re
.
sub
(
r
'viewBox="[0-9 .-]*"'
,
'viewbox=""'
,
s
)
s
=
re
.
sub
(
r
'transform="[^"]*"'
,
'transform=""'
,
s
)
s
=
re
.
sub
(
r
'id="edge[^"]*"'
,
'id="edge"'
,
s
)
s
=
re
.
sub
(
r
'text-anchor="[^"]*"'
,
'text-anchor=""'
,
s
)
return
s
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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