Exclude regular expressions from MapCSS tag value.

This commit is contained in:
Sergey Vartanov 2021-11-10 02:03:20 +03:00
parent 794a72d2f7
commit 81e3bc4536

View file

@ -103,6 +103,10 @@ class MapCSSWriter:
"""
elements: dict[str, str] = {}
for value in matcher.tags.values():
if value.startswith("^"):
return ""
clean_shapes = matcher.get_clean_shapes()
if clean_shapes:
elements["icon-image"] = (