WordPress.org

Forums

[Plugin: Add Meta Tags] HTML breaks if tags include quotes (6 posts)

  1. pigsonthewing
    Member
    Posted 4 years ago #

    If I tag a post as '"test tag"' (i.e. including the double quotes), this plugin (v1.8) fails to escape or strip the quote marks, and the the HTML produced:

    <meta name="keywords" content="foo, "test tag", bar" />

    is thus invalid.

    While tagging with quotes is not sensible, it may happen, and should be catered for, per Postel's Law.

    (It may be better if WordPress simply stripped quotes from tags)
    is thus invalid.

    The same problem occurs with the 'Dublin Core for WP' plugin, as reported at 'plugin-dublin-core-for-wp-html-breaks-if-tags-incude-quotes'.

  2. George Notaras
    Member
    Posted 4 years ago #

    Hi. Thanks for letting me know. It will be corrected in the next release.

  3. pigsonthewing
    Member
    Posted 4 years ago #

    Cool, thanks.

  4. pigsonthewing
    Member
    Posted 3 years ago #

    Any idea when?

  5. George Notaras
    Member
    Posted 3 years ago #

    Add-Meta-Tags 2 will be released soon.

  6. George Notaras
    Member
    Posted 3 years ago #

    Fixed in 2.0.2

Topic Closed

This topic has been closed to new replies.

About this Topic