• Resolved Gal Baras

    (@galbaras)


    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

    https://www.ads-software.com/extend/plugins/easy-iframe-loader/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author andykillen

    (@andykillen)

    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

    Thread Starter Gal Baras

    (@galbaras)

    I thought as much.

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

    Plugin Author andykillen

    (@andykillen)

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Easy iFrame Loader] Closing CDATA tag incorrect >> IE error’ is closed to new replies.