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

Commit 183d59e

Browse files
committed
Fix django-ckeditor#398: JSON is not safe, but flatatt() is
1 parent 7ad82c9 commit 183d59e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{% load static %}
22
<div class="django-ckeditor-widget" data-field-id="{{id}}" style="display: inline-block;">
3-
<textarea{{ final_attrs|safe }} data-processed="0" data-config='{{config|safe}}' data-external-plugin-resources='{{external_plugin_resources|safe}}' data-id="{{id}}" data-type="ckeditortype">{{ value }}</textarea>
3+
<textarea{{ final_attrs }} data-processed="0" data-config="{{ config }}" data-external-plugin-resources="{{ external_plugin_resources }}" data-id="{{id}}" data-type="ckeditortype">{{ value }}</textarea>
44
</div>

0 commit comments

Comments
 (0)