Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Commit 4bb03c8

Browse files
authored
Fix double quotes in html + allow html in default content
1 parent df8dd57 commit 4bb03c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Resources/views/column/column.html.twig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"contentPadding": "{{ column.contentPadding }}",
1616
{% endif %}
1717
{% if column.defaultContent is not same as(null) %}
18-
"defaultContent": "{{ column.defaultContent }}",
18+
"defaultContent": {{ column.defaultContent|json_encode|raw }},
1919
{% endif %}
2020
{% if column.name is not same as(null) %}
2121
"name": "{{ column.name }}",
@@ -25,7 +25,7 @@
2525
{% endif %}
2626
{% block title %}
2727
{% if column.title is not same as(null) %}
28-
"title": "{{ column.title|raw }}",
28+
"title": {{ column.title|json_encode|raw }},
2929
{% endif %}
3030
{% endblock %}
3131
{% if column.searchable is same as(true) or column.searchable is same as(false) %}

0 commit comments

Comments
 (0)