Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Mikael Mørup 297 posts 326 karma points
    Apr 19, 2010 @ 13:19
    Mikael Mørup
    0

    Iframe problem

    I have a macro that inserts an Iframe into a rich text editor field.

    After saving the node, Tiny MCE messes with the HTML, so the closing </iframe> tag that my macro inserts is replaced with the /> ending of the Iframe tag.

    This messes up the rendering of my template, is there anything i can do to prevent this ?

    Mikael

     

  • Søren Eriksen-Aagreen 29 posts 76 karma points
    Apr 19, 2010 @ 13:49
    Søren Eriksen-Aagreen
    1

    If your macro is a xslt macro - Could this have something to do with your xsl output method ? 

    Is it set to <xsl:output method="html" omit-xml-declaration="yes"/> or <xsl:output method="xml" omit-xml-declaration="yes"/> ?

     

    --

    n

  • Mikael Mørup 297 posts 326 karma points
    Apr 19, 2010 @ 20:35
    Mikael Mørup
    0

    Its:

    <xsl:output method="xml" omit-xml-declaration="yes"/>

    Should it be HTML (hmm i guess so) ??

  • Mikael Mørup 297 posts 326 karma points
    Apr 19, 2010 @ 20:39
    Mikael Mørup
    0

    I should.

     

    Thanks

  • Søren Eriksen-Aagreen 29 posts 76 karma points
    Apr 22, 2010 @ 11:08
    Søren Eriksen-Aagreen
    0

    Great! :)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies