MDL-75659 core: Don't render component argument twice in mustache pix helper

This commit is contained in:
Lars Bonczek
2023-03-07 14:55:07 +00:00
committed by Jenkins
parent 9d3320dd6f
commit eb5037adaf
@@ -68,7 +68,6 @@ class mustache_pix_helper {
if (!$component) {
$component = '';
}
$component = $helper->render($component);
$text = strtok("");
// Allow mustache tags in the last argument.
$text = trim($helper->render($text));