1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-30 18:59:41 +02:00

fix(app/templates): handle special characters in mustache templates [EE-3708] (#7288)

This commit is contained in:
LP B 2022-07-19 14:05:18 +02:00 committed by GitHub
parent 43600083a7
commit 95f4db4f48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,5 +68,5 @@ export function renderTemplate(
)
);
return Mustache.render(template, state);
return Mustache.render(template, state, undefined, { escape: (t) => t });
}