Prevent HTML tags in <title>
mundschenk-at opened this issue · comments
Der Mundschenk & Compagnie commented
Processing the title parts should not result in HTML tags (<span class="caps">
etc.) being added, as ´<title>` only allows plain text content.
Reported in the WordPress forums.
Der Mundschenk & Compagnie commented
Actually, it's a bug in The SEO Framework.
Der Mundschenk & Compagnie commented
While the specific issue stems from an incompatibility with what The SEO Framework does, @sybrew's analysis in sybrew/the-seo-framework#436 is not completely wrong: Several filter hooks used by wp-Typography since "forever" don't expect added HTML markup (or at least it's not clear that users of the relevant functions should expect to handle HTML in the returned values).