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

Commit

Permalink
Fix double quotes in html + allow html in default content
Browse files Browse the repository at this point in the history
  • Loading branch information
Seb33300 authored Aug 25, 2018
1 parent df8dd57 commit 4bb03c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/views/column/column.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"contentPadding": "{{ column.contentPadding }}",
{% endif %}
{% if column.defaultContent is not same as(null) %}
"defaultContent": "{{ column.defaultContent }}",
"defaultContent": {{ column.defaultContent|json_encode|raw }},
{% endif %}
{% if column.name is not same as(null) %}
"name": "{{ column.name }}",
Expand All @@ -25,7 +25,7 @@
{% endif %}
{% block title %}
{% if column.title is not same as(null) %}
"title": "{{ column.title|raw }}",
"title": {{ column.title|json_encode|raw }},
{% endif %}
{% endblock %}
{% if column.searchable is same as(true) or column.searchable is same as(false) %}
Expand Down

0 comments on commit 4bb03c8

Please sign in to comment.