Back to Custom Fields CMS Support

accounts32332
accounts32332

Whenever I use the Rich Text option, while the editor creates HTML tags behind the scenes (as evidenced if you go into the code view), when the content renders on the page, it displays those HTML tags.

So instead of showing:

This is the first paragraph.

This is the second paragraph.

It shows:

<p>This is the first paragraph.</p> <p>This is the second paragraph.</p>

Any idea on how I can get it to parse the HTML?

accounts32332
accounts32332

For those who read this and might have the same question, I solved it by adding the "| raw" filter to the snippet:

{{ this.page.primarycontent_primarycontent | raw }}

1-2 of 2