Is there a way to preserve HTML markup in an excerpt field when I use it in Loops and Logic templates?
Sometimes I add HTML to italicize words inside post excerpts, and when I use the default blog page, it preserves this HTML markup. However, when I display the excerpt with a Loops and Logic Field, the markup disappears.
So say I enter this in the WordPress excerpt field:
Read this article about <em>Pride and Prejudice</em>.
And the Loops and Logic template is this:
<p><Field excerpt /></p>
This is what I’ll see on the front end—no italics:
Read this article about Pride and Prejudice.
And if I right click in the browser and inspect element, then I see this—no HTML inside the excerpt:
<p>Read this article about Pride and Prejudice.</p>
I’ve tried looking through the documentation and don’t see any instructions for preserving the HTML in this type of field. Is this supported? If not, I can put it in the suggested features topic.