Skip to content

Commit

Permalink
fix: handle change in tabler svg tag from oneline to multiline
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Milliken committed Mar 24, 2024
1 parent f63ccf4 commit f95fc8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keymap_drawer/draw/glyph.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class GlyphMixin:
_glyph_name_re = re.compile(r"\$\$(?P<glyph>.*)\$\$")
_view_box_dimensions_re = re.compile(
r'<svg.*viewbox="(-?\d+(?:\.\d+)?)\s+(-?\d+(?:\.\d+)?)\s+(\d+(?:\.\d+)?)\s+(\d+(?:\.\d+)?)".*>',
flags=re.IGNORECASE | re.ASCII,
flags=re.IGNORECASE | re.ASCII | re.DOTALL,
)
_scrub_dims_re = re.compile(r' (width|height)=".*?"')

Expand Down

0 comments on commit f95fc8e

Please sign in to comment.