{% load gfm %}
{% if widget.value %}{{widget.value|gfm}}{% endif %}
{% with 'content-'|add:widget.attrs.id as jsonid %} {% with 'viewer-'|add:widget.attrs.id as viewerid %} {{ widget.value|json_script:jsonid }}
{% endwith %} {% endwith %}