N°3565 - Migrate backoffice pages to new UIBlock system : Setup (fix bad escaping)

This commit is contained in:
Eric
2021-02-08 14:20:03 +01:00
parent 82b7854d46
commit 91752b4068
4 changed files with 3 additions and 10 deletions

View File

@@ -80,7 +80,7 @@
{% if aDeferredBlocks is not empty %}
{# TODO 3.0.0 #}
{# <script type="text/javascript"> #}
{# $('body').append('{% for oBlock in aDeferredBlocks %}{{ render_block(oBlock, {aPage: aPage})|escape_for_js_string|raw }}{% endfor %}'); #}
{# $('body').append('{% for oBlock in aDeferredBlocks %}{{ render_block(oBlock, {aPage: aPage})|escape('js')|raw }}{% endfor %}'); #}
{# </script> #}
{% for oBlock in aDeferredBlocks %}
{{ render_block(oBlock, {aPage: aPage})|raw }}