• Resolved PowrSlave

    (@powrslave)


    I made a simple widget that is nothing more than the soundcloud “embed track” code which consists of an iframe inside a few conditional comments and a span at the end that serves as a button link and when I view the page, the condition comments are replaced with a paragraph tag set with a break tag inside. The span tag is not messed with. What the actual heck?

    Here is the code that is being stripped out:

    <!--[if IE]>
                            <iframe width="220" height="166" scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F86869170&auto_play=false&show_artwork=false&color=000000"></iframe>
                        <![endif]-->
                        <!--[if !IE]>-->
                            <iframe width="220" height="166" style="border-style:none; overflow:hidden; width:100%;" src="https://w.soundcloud.com/player/?url=http%3A%2F%2Fapi.soundcloud.com%2Ftracks%2F86869170&auto_play=false&show_artwork=false&color=000000"></iframe>
                        <!--![endif]-->

    Any thoughts? My first time using widget builder, but it works for other things I have used thus far.

    https://www.ads-software.com/extend/plugins/widget-builder/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter PowrSlave

    (@powrslave)

    Oh wait, I also just noticed that it is wrapping my span tag in a paragraph tag as well. What is this code rewriting? I’m from a Sharepoint background so I’m sorry if I am missing something in the search…

    Plugin Author Timothy Wood

    (@codearachnid)

    We are not stripping out any tags, if you are noticing that is continuing to occur please disable all plugins except for this one and try again. Any conflicts with other plugins changing how the core WYSIWYG editor in WordPress is beyond our control.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widget Builder Stripping Out HTML???’ is closed to new replies.