Replacing paragraph tags with line breaks for email templates

Iā€™m using Kirby to populate email templates and I wanted to learn how I can prevent it from wrapping text content in <p> tags and replace them with double line breaks for better email client compatibility.

I searched the forum and found some previous posts but Iā€™m not sure if it applies to the current 2.4.0 version.

How can I get this changed site-wide?

Thank you.

You could use a Kirbytext post filter and replace all <p> tags using regex patterns.