forked from MapComplete/MapComplete
Merge develop
This commit is contained in:
commit
be5f46d8c8
321 changed files with 14942 additions and 4545 deletions
File diff suppressed because it is too large
Load diff
|
@ -490,9 +490,7 @@ export default class LayerConfig extends WithContextLoader {
|
|||
usingLayer = [
|
||||
new Title("Themes using this layer", 4),
|
||||
new List(
|
||||
(usedInThemes ?? []).map(
|
||||
(id) => new Link(id, "https://mapcomplete.org/" + id)
|
||||
)
|
||||
(usedInThemes ?? []).map((id) => new Link(id, "https://mapcomplete.org/" + id))
|
||||
),
|
||||
]
|
||||
}
|
||||
|
|
|
@ -247,7 +247,10 @@ export default class TagRenderingConfig {
|
|||
if (txt === "") {
|
||||
throw context + " Rendering for language " + ln + " is empty"
|
||||
}
|
||||
if (txt.indexOf("{" + this.freeform.key + "}") >= 0) {
|
||||
if (
|
||||
txt.indexOf("{" + this.freeform.key + "}") >= 0 ||
|
||||
txt.indexOf("&LBRACE" + this.freeform.key + "&RBRACE")
|
||||
) {
|
||||
continue
|
||||
}
|
||||
if (txt.indexOf("{" + this.freeform.key + ":") >= 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue