diff --git a/roentgen/scheme.py b/roentgen/scheme.py index 0422f99..db5df12 100644 --- a/roentgen/scheme.py +++ b/roentgen/scheme.py @@ -168,7 +168,9 @@ class NodeMatcher(Matcher): """Get MapCSS 0.2 selector for one key.""" if value == "*": return f"[{key}]" - return f"[{key}={value}]" + if '"' in value: + return f"[{key}='{value}']" + return f'[{key}="{value}"]' return "".join([get_selector(x, y) for (x, y) in self.tags.items()]) diff --git a/scheme/default.yml b/scheme/default.yml index cae049e..66cd1f3 100644 --- a/scheme/default.yml +++ b/scheme/default.yml @@ -992,12 +992,6 @@ node_icons: {shape: digit_4, offset: [-2, 2]}, {shape: digit_0, offset: [2, 2]}, ] - - tags: {traffic_sign: maxspeed, maxspeed: ".."} - shapes: [ - circle_11, - {shape: digit_3, offset: [-2, 0], color: "#FFFFFF"}, - {shape: digit_0, offset: [2, 0], color: "#FFFFFF"}, - ] - tags: {traffic_sign: stop} shapes: [stop] - tags: {highway: give_way}