radgeek/feedwordpress

Boilerplate content can include HTML, but no attributes

Opened this issue · 0 comments

When boilerplate text containing HTML is used, attribute quotes are escaped. On final content generation, escaped quotes appear as extra content for attributes, thus breaking the intended boilerplate.

For example, this boilerplate code:

<span class="warning">Warning</span>

Gets saved as

<span class=\"warning\">Warning</span>

Which is then rendered as

<span class="\"warning\"">Warning</span>

Therefore breaking the intended CSS class assignment.