Fix various bugs; improve UK-addresses theme

This commit is contained in:
Pieter Vander Vennet 2022-01-17 21:33:03 +01:00
parent e20cf0abfa
commit 8ca9e4f36c
20 changed files with 357 additions and 164 deletions

View file

@ -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)