forked from MapComplete/MapComplete
More UI tweaks, fix bugs with new icon handling
This commit is contained in:
parent
6299c8223e
commit
8383f482c7
9 changed files with 75 additions and 14 deletions
|
@ -58,7 +58,7 @@ export class SubstitutedTranslation extends UIElement {
|
|||
|
||||
for (const knownSpecial of SpecialVisualizations.specialVisualizations) {
|
||||
|
||||
// NOte: the '.*?' in the regex reads as 'any character, but in a non-greedy way'
|
||||
// Note: the '.*?' in the regex reads as 'any character, but in a non-greedy way'
|
||||
const matched = template.match(`(.*){${knownSpecial.funcName}\\((.*?)\\)}(.*)`);
|
||||
if (matched != null) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue