diff --git a/view/frontend/templates/powerstep_script.phtml b/view/frontend/templates/powerstep_script.phtml index 7e54629..e779027 100644 --- a/view/frontend/templates/powerstep_script.phtml +++ b/view/frontend/templates/powerstep_script.phtml @@ -1,8 +1,13 @@ shouldShow()): - ?> - - \ No newline at end of file +scriptStr; + + echo /* @noEscape */ $secureRenderer->renderTag('script', [], $scriptString, false); +} diff --git a/view/frontend/templates/tracking.phtml b/view/frontend/templates/tracking.phtml index 8b0fff9..b3a576e 100644 --- a/view/frontend/templates/tracking.phtml +++ b/view/frontend/templates/tracking.phtml @@ -1,15 +1,40 @@ getPublicKey())): $clerkJsUrl = $block->getClerkJSLink(); - ?> - - +scriptStr; +?> + + renderTag('script', [], $scriptString, false) ?>