Describe the bug
When using the Str::template() method, if the source string has "token"-like parts to it (but are not meant to be replaced) then they will be unexpectedly removed.
Str::template('From {{ b }} to {{ a }}, maybe {{ c }}.', [
'a' => 'there',
'b' => 'here'
]);
// Actual: From here to there, maybe .
// Expected: From here to there, maybe {{ c }}.
This actual behavior differs from K2-behavior, and to me it seems like a bug.
Kirby Version
3.3.0