forked from MapComplete/MapComplete
Fix various bugs; improve UK-addresses theme
This commit is contained in:
parent
e20cf0abfa
commit
8ca9e4f36c
20 changed files with 357 additions and 164 deletions
3
Utils.ts
3
Utils.ts
|
@ -269,6 +269,9 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
|
|||
v = "" + v
|
||||
}
|
||||
v = v.replace(/\n/g, "<br/>")
|
||||
}else{
|
||||
// v === undefined
|
||||
v = ""
|
||||
}
|
||||
txt = txt.replace("{" + key + "}", v)
|
||||
match = txt.match(regex)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue