{% load i18n %}
{% if content %}
	<div data-last-content="{{ content.rich_content|safe }}" class="content_block {% if user.is_admin %}admin-content-block{% endif %}">
    <div class="inner_alert_block hidden">{% trans "You have changed the content of this block without saving. Please click the save button to save changes." %}</div>
		<div class="inner_content_block {% if user.is_admin %}inner_admin_content_block{% endif %}" {% if user.is_admin %}contenteditable="true"{% endif %}>
			{{ content.rich_content|safe }}
		</div>
		
		{% if user.is_admin %}
    <a data-slug="{{ content.slug }}" class="hidden btn" href="javascript:void(0);">{% trans "Save" %}</a>
		{% endif %}
	</div>
{% else %}
{% if user.is_admin %}<p style="color: red;">{% trans "Please load a Content Block with slug" %} &#39;{{ slug }}&#39; {% trans "in the database." %}</p>{% endif %}
{% endif %}

{% load i18n %}
{% if content %}
    <div class="inner_alert_block hidden">
      {% trans "You have changed the content of this block without saving. Please click the save button to save changes." %}
    </div>
			{{ content.rich_content|safe }}
		
		{% if user.is_admin %}
    <a data-slug="{{ content.slug }}" class="hidden btn" href="javascript:void(0);">{% trans "Save" %}</a>
		{% endif %}
	</div>
{% else %}
{% if user.is_admin %}<p style="color: red;">{% trans "Please load a Content Block with slug" %} &#39;{{ slug }}&#39; {% trans "in the database." %}</p>{% endif %}
{% endif %}

Remove html code that was rendering from the content block widget
Remove html code that was rendering from the content block widget
