<div class="contenthead">
  {{ page.title }}
</div>
<div class="content">
{% ifequal page.markup "markdown" %}
  {% load markup %}
  {{ page.content|markdown }}
{% else %}
  {% ifequal page.markup "plaintext" %}
    {{ page.content|linebreaks|urlize }}
  {% else %}
    {{ page.content }}
  {% endifequal %}
{% endifequal %}
</div>



<div class="contenthead">
  {{ page.title }}
</div>
<div class="content">
{% ifequal page.markup "markdown" %}
  {% load markup %}
  {{ page.content|markdown }}
{% else %}
  {% ifequal page.markup "html" %}
    {{ page.content|safe }}
  {% else %}
    {{ page.content|linebreaks|urlize }}
  {% endifequal %}
{% endifequal %}
</div>



Fix html markup for page rendering.
Fix html markup for page rendering.
