forked from MapComplete/MapComplete
Fix: maproulette endpoints
This commit is contained in:
parent
e37f90855f
commit
bbf6d62c86
2 changed files with 49 additions and 44 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue