{% extends "layout.html" %}
{% load i18n %}

{% block title %}
    {{ flatpage.title}} | {{ block.super }}
{% endblock %}

{% block headertext %}
    {{ flatpage.title }}
{% endblock %}

{% block breadcrumbs %}
    <ul class="breadcrumb">
        <li>
            <a href="{{ homepage_url }}">{% trans "Home" %}</a>
            <span class="divider">/</span>
        </li>
        <li class="active">{{ flatpage.title }}</li>
    </ul>
{% endblock %}

{% block content %}
    <article>{{ flatpage.content|linebreaks }}</article>
{% endblock %}

{% extends "layout.html" %}
{% load i18n %}

{% block title %}
    {{ flatpage.title}} | {{ block.super }}
{% endblock %}

{% block headertext %}
    {{ flatpage.title }}
{% endblock %}

{% block breadcrumbs %}
    <ul class="breadcrumb">
        <li>
            <a href="{{ homepage_url }}">{% trans "Home" %}</a>
            <span class="divider">/</span>
        </li>
        <li class="active">{{ flatpage.title }}</li>
    </ul>
{% endblock %}

{% block content %}
    <article>{{ flatpage.content }}</article>
{% endblock %}

Remove linebreaks filter when rendering flatpages
Remove linebreaks filter when rendering flatpages

Line breaks are handled by TinyMCE just fine, so it can be safely
removed. Mentioned here:
https://groups.google.com/d/msgid/django-oscar/694e60bf-d3cc-42f2-a5b6-8717fdccd68b%40googlegroups.com?utm_medium=email&utm_source=footer

The filter was added without a comment two years ago in
231e1b87ec0ccca49bd622699d6199fbd02470c8, probably to get the linebreaks
in the fixture working.
