Forums

Easy iFrame Loader
[resolved] Closing CDATA tag incorrect >> IE error (4 posts)

  1. galbaras
    Member
    Posted 1 year ago #

    The plugin code worked for me on Firefox, but not on IE, so I took a closer look. Instead of '//]]>', the code ended with '//]]' followed by '&', then 'gt', then ';' (the HTML name for the end-of-tag character - when I try to post this string together, it is converted back).

    Although the do_iframe_script function does the right thing, somewhere along the way, the final '>' is changed to its character name. I've tried putting a backslash (and two of them) in front of it, but besides keeping the '>' intact, this also puts a backslash in front of it, which messes up the closing CDATA tag.

    I'm keen to use this nifty plugin with the delay trick, so any ideas how to solve this will be great.

    Thank you,
    Gal

    http://wordpress.org/extend/plugins/easy-iframe-loader/

  2. andykillen
    Member
    Posted 1 year ago #

    Hello galbaras,

    Apparently this is a wordpress'isum. This has been an on-going argument between the coders of wordpress for around 4 years and they are still currently making the greater-than sign become a ampersand-gt when using CDATA section.

    Their latest choice after reading through the bug track list is to tell developers not it use it at all. So I have removed the CDATA elements from the code.

    New release shortly.
    regards
    Andy

  3. galbaras
    Member
    Posted 1 year ago #

    I thought as much.

    So is the iframe still loading after the page or not?

  4. andykillen
    Member
    Posted 1 year ago #

    has the description changed of the way the plugin functions? Nope. So the answer is yes.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic