Change regex parsing to avoid runaway matches

This commit is contained in:
Pieter Vander Vennet 2022-10-11 01:01:24 +02:00
parent bdcedae003
commit d562e7fd7c
10 changed files with 255 additions and 223 deletions

View file

@ -9,4 +9,4 @@
"https://github.com/osmlab/osm-community-index/blob/main/dist/img/osm.svg"
]
}
]
]

View file

@ -397,6 +397,10 @@
{
"if": "theme=waste_basket",
"then": "./assets/themes/waste_basket/waste_basket.svg"
},
{
"if": "theme=width",
"then": "./assets/themes/width/icon.svg"
}
]
},
@ -557,4 +561,4 @@
}
}
]
}
}

View file

@ -9,4 +9,4 @@
"https://github.com/osmlab/osm-community-index/blob/main/dist/img/osm.svg"
]
}
]
]