mirror of https://github.com/portainer/portainer
fix(app/templates): handle special characters in mustache templates [EE-3708] (#7288)
parent
43600083a7
commit
95f4db4f48
|
@ -68,5 +68,5 @@ export function renderTemplate(
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
return Mustache.render(template, state);
|
return Mustache.render(template, state, undefined, { escape: (t) => t });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue