I have a list lst=['apple', 'pear', 'peach'].
I want to show each item in textarea from new line (removing redundant subspaces).
            <textarea>
                    {% for item in lst %}
                        {{ item }}
                        {% if not forloop.last %}<br/>{% endif %}
                    {% endfor %}
            </textarea>
This code doesn't work. <br/>s are shown as they are. And there are redundant whitespaces at the beginning of the textarea and between the items.
 
    