Remove HTML tags from custom RSS

Hi!
Is there any way to remove html tags from {{content}}?
Any helpers in Ghost?

Hey @Semen_Lobachevskiy, can I ask why you want to remove the HTML tags? I’m guessing from the topic heading you’re wanting to remove HTML tags from an RSS feed template.

In my experience I’ve found RSS readers to read HTML tags just fine, and even provide a better reading experience for whoever is consuming my content via that feed :slight_smile:

Hi! thanks for the answer. I need to remove html tags to send feed to news aggregator

Ah I see. I’m not sure if it’s possible in handlebars, but you can get the plaintext version of post and pages content using the Content API: https://ghost.org/docs/api/v3/content/#formats