Skip to content

Commit

Permalink
fixed colon in attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
evtn committed Jul 14, 2021
1 parent c032dc4 commit 06ffd07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion soda/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

__title__ = 'soda-svg'
__description__ = 'Fast SVG generation tool'
__version__ = '0.1.3'
__version__ = '0.1.4'
__author__ = 'evtn'
__author_email__ = 'g@evtn.ru'
__license__ = 'MIT License'
Expand Down
2 changes: 1 addition & 1 deletion soda/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def escape(text: str) -> str:


def identifier(text: str) -> str:
return "".join(filter(lambda x: x == "-" or x.isalnum(), str(text)))
return "".join(filter(lambda x: x in ["-", ":"] or x.isalnum(), str(text)))


class MetaTag(type):
Expand Down

0 comments on commit 06ffd07

Please sign in to comment.