forked from MapComplete/MapComplete
Merge branch 'develop' into waste-theme
This commit is contained in:
commit
9b7a47136c
89 changed files with 2775 additions and 1151 deletions
|
@ -31,7 +31,7 @@ class ConvertImagesToIcon extends DesugaringStep<LayerConfigJson> {
|
|||
}
|
||||
information.push("Replaced image " + images[0])
|
||||
const replaced = then.OnEveryLanguage((s) => {
|
||||
return s.replace(/(<div [^>]*>)?<img [^>]*> ?/, "").replace(/<\/div>$/, "")
|
||||
return s.replace(/(<div [^>]*>)?<img [^>]*> ?/, "").replace(/<\/div>$/, "").trim()
|
||||
})
|
||||
|
||||
mapping.then = replaced.translations
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue