Fix: maproulette endpoints

This commit is contained in:
Pieter Vander Vennet 2023-10-05 22:40:57 +02:00
parent e37f90855f
commit bbf6d62c86
2 changed files with 49 additions and 44 deletions

View file

@ -111,6 +111,7 @@ export default class TagApplyButton implements AutoAction, SpecialVisualization
while (spec.length > 0) {
const [part] = spec.match(/((\\;)|[^;])*/)
console.log(("Spec is"), part, spec)
spec = spec.substring(part.length + 1) // +1 to remove the pending ';' as well
const kv = part.split("=").map((s) => s.trim().replace("\\;", ";"))
if (kv.length == 2) {