Support » Plugin: nrelate Related Content » Invalid HTML (CDATA Tags)

  • Hey,

    When using your PlugIn, my HTML gets broken because of a WordPress filter to convert all ]]> to ]]& gt ; within the_content.
    AFAIK this filter can’t be disabled.

    However, in nrelate-related.php @ line 353 the ]]> is escaped, breaking the HTML’s validity.

    Could you please deploy the JS within the Head or other filters which don’t break the CDATA end-tag?
    Or is there any known method to disable ]]> encoding in the_content without modifying WP core files?

    Thanks, NoMad

    http://wordpress.org/extend/plugins/nrelate-related-content/

Viewing 2 replies - 1 through 2 (of 2 total)
  • OK, shorthand: My Theme uses get_the_content and then escapes ]]>, I disabled the escaping. But pretty much every WP Blog does filter it, so please consider fixing that.
    Also: Style-Tags are used in the body… not valid for XHTML 1.0 Transitional:

    This could mean that you have incorrectly nested elements — such as a “style” element in the “body” section instead of inside “head”

    katrina@nrelate

    (@katrinanrelate)

    nrelate Support Rep

    @nomad1337 — Can you please upgrade to version 0.52 of our plugin(s) and let us know if this issue persists?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Invalid HTML (CDATA Tags)’ is closed to new replies.