This commit is contained in:
pietervdvn 2021-09-28 22:33:09 +02:00
parent e9aa8d347f
commit e723427b99

View file

@ -20,8 +20,8 @@ function generateWikiEntry(layout: LayoutConfig) {
|name= [https://mapcomplete.osm.be/${layout.id} ${layout.id}] |name= [https://mapcomplete.osm.be/${layout.id} ${layout.id}]
|region= Worldwide |region= Worldwide
|lang= ${languages} |lang= ${languages}
|descr= A MapComplete theme: ${Translations.W(layout.description) |descr= A MapComplete theme: ${Translations.WT(layout.description)
.InnerRenderAsString() .textFor("en")
.replace("<a href='", "[[") .replace("<a href='", "[[")
.replace(/'>.*<\/a>/, "]]") .replace(/'>.*<\/a>/, "]]")
} }