mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-02 10:51:57 +02:00
Exclude regular expressions from MapCSS tag value.
This commit is contained in:
parent
794a72d2f7
commit
81e3bc4536
1 changed files with 4 additions and 0 deletions
|
@ -103,6 +103,10 @@ class MapCSSWriter:
|
||||||
"""
|
"""
|
||||||
elements: dict[str, str] = {}
|
elements: dict[str, str] = {}
|
||||||
|
|
||||||
|
for value in matcher.tags.values():
|
||||||
|
if value.startswith("^"):
|
||||||
|
return ""
|
||||||
|
|
||||||
clean_shapes = matcher.get_clean_shapes()
|
clean_shapes = matcher.get_clean_shapes()
|
||||||
if clean_shapes:
|
if clean_shapes:
|
||||||
elements["icon-image"] = (
|
elements["icon-image"] = (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue