Forums

[Plugin: wp-typogrify] Character Replacement (2 posts)

  1. slushpilejs
    Member
    Posted 2 years ago #

    Pattern matching on ampersands and other characters doesn't check for the context of where they appear. For instance, an ampersand in a title attribute of an anchor tag inserts <span class="amp"> which gives you a lot of double quotes and breaks the HTML. Really, the regex should check and make sure it's not doing a replacement inside HTML, or at least in certain contexts.

  2. kingjeffrey
    Member
    Posted 2 years ago #

    wp-Typogrify has been officially replaced with wp-Typography, which offers precisely the contextual awareness you sought.

Topic Closed

This topic has been closed to new replies.

About this Topic