How to replace a string with linebreaks in Jinja2 : <p>I have some data in jinja2 like this </p>

<pre><code>'item1|item2|item3'
</code></pre>

<p>And I want to turn it into rendered linebreaks.  However, when I replace it with br/ tags, I get the br tags rendered on the page.  So</p>

<pre><code>{{ 'item1|item2|item3' | replace("|", "&lt;br/&gt;") }}
</code></pre>

<p>renders as</p>

<pre><code>item1&lt;br/&gt;item2&lt;br/&gt;item3&lt;br/&gt;
</code></pre>

<p>When I want</p>

<pre><code>item1
item2
item3
</code></pre>

<p>on my page.  I feel like I'm missing some obvious trick here...</p>
