Skip to content

_frontend/profile: Use non-greedy search to substitute variables

Chandan Singh requested to merge chandan/fix-subst-non-greedy into master

Use non-greedy search to ensure that we stop at the next closing brace. Otherwise, for a string like %{variable} {variable}, the second variable will also get substituted.

Fixes #1307 (closed).

Merge request reports

Loading