I have an article that has smart quotes in it, so I need to escape the article content. However, if I use
article.body| e
to escape the article, the html does not show up as formatted. And if I use
article.body| raw
the article is displayed correctly as html but the smart quotes are not escaped in the content.
Does anyone know how to escape content while correctly displaying the html?