{% extends "qommon/forms/widget.html" %}
<div {% if widget.field.id %}data-field-id="{{ widget.field.id }}"{% endif %}
    {% if widget.is_hidden %}style="display: none"{% endif %}
    class="comment-field {{widget.extra_css_class|default_if_none:"" }}">
    {% block widget-content %}
        <div id="content">
        {{ widget.content|safe }}
    </div>
        <script>
            $(function() {
            var $currenthtml = $(".template-br-comment div#content").html().replace(new RegExp("&lt;br&gt;", "gi"), "<br/>");
            $(".template-br-comment div#content").html($currenthtml);
            });
        </script>
   {% endblock %}
</div>
