I am printing fields in a node template, but Twig is escaping my tags and ruining my day.
My .tpl
looks like this:
<blockquote>
<p class="title">{{ content.field_myfield.0 }}</p>
</blockquote>
I want to strip all tags from the original field and then "wrap" the field in a paragraph tag with the title
class. I found out how to get the raw value without tags based on this question.
However, this is the HTML that is actually output:
<blockquote>
<p class="title"></p><p>When you wish upon a star</p><p></p>
</blockquote>
What am I doing wrong?