Preserving HTML in Excerpt when "Enable More Tag Protection" is on
-
I have “Enable More Tag Protection” on and it’s doing what I want, except that all HTML tags (including
<p>
) are stripped from the Teaser content, resulting in one large paragraph.After the member logs in the post is formatted properly.
A view-source on the Teaser (when not logged in) shows the whitespace between paragraphs, but without actual
<p>
tags the whitespace is not rendered.I have tried a filter in my functions file that should add desired tags back in after they’re stripped, but it isn’t working. Some other filter or function in the plugin may be preventing my filter from taking effect.
This may be the same issue that wp.insider reported four days ago but I wanted to create my own topic.
- The topic ‘Preserving HTML in Excerpt when "Enable More Tag Protection" is on’ is closed to new replies.