Copied to clipboard

Flag this post as spam?

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


  • Jason 86 posts 156 karma points
    Oct 23, 2013 @ 20:48
    Jason
    0

    Umbraco stripping out span id.....why?

    Hello,We're running Umbraco 4.52 built by a third party.  We recently took control of it and with that being said, we are extremely new to it and are trying to work out the bugs.The problem I am having today is that I am trying to drop some Hubspot code into the CMS (specifically into a ribbon body content area).The problem is that Umbraco strips out the "span id" which makes the code fail.  It keeps the class but strips the id.Is there a "trick" to get Umbraco to leave the code intact?What I drop in:<!--HubSpot Call-to-Action Code --><span class="hs-cta-wrapper" id="hs-cta-wrapper-d08e83de-357d-4e5b-bbfb-c768bf2ce180">    <span class="hs-cta-node hs-cta-d08e83de-357d-4e5b-bbfb-c768bf2ce180" id="hs-cta-d08e83de-357d-4e5b-bbfb-c768bf2ce180">        <!--[if lte IE 8]><div id="hs-cta-ie-element"></div><![endif]-->        <a href="http://cta-redirect.hubspot.com/cta/redirect/206683/d08e83de-357d-4e5b-bbfb-c768bf2ce180"><img class="hs-cta-img" id="hs-cta-img-d08e83de-357d-4e5b-bbfb-c768bf2ce180" style="border-width:0px;" src="https://no-cache.hubspot.com/cta/default/206683/d08e83de-357d-4e5b-bbfb-c768bf2ce180.png" /></a>    </span>    <script charset="utf-8" src="https://js.hubspot.com/cta/current.js"></script>        <script type="text/javascript">            hbspt.cta.load(206683, 'd08e83de-357d-4e5b-bbfb-c768bf2ce180');        </script></span><!-- end HubSpot Call-to-Action Code --> ...........and what remains:<!--HubSpot Call-to-Action Code --><span class="hs-cta-wrapper"><span class="hs-cta-node hs-cta-d08e83de-357d-4e5b-bbfb-c768bf2ce180"> <!--[if lte IE 8]><div id="hs-cta-ie-element"></div><![endif]--> <a href="http://cta-redirect.hubspot.com/cta/redirect/206683/d08e83de-357d-4e5b-bbfb-c768bf2ce180"> <img id="hs-cta-img-d08e83de-357d-4e5b-bbfb-c768bf2ce180" style="border-width: 0px;" class="hs-cta-img" src="https://no-cache.hubspot.com/cta/default/206683/d08e83de-357d-4e5b-bbfb-c768bf2ce180.png" alt="" /></a></span> <!--             hbspt.cta.load(206683, 'd08e83de-357d-4e5b-bbfb-c768bf2ce180');          // --></span> <!-- end HubSpot Call-to-Action Code -->Please let me know if I can provide any further information to help with a solution.Thank you in advance.

  • Jason 86 posts 156 karma points
    Oct 25, 2013 @ 20:22
    Jason
    0

    Anyone?  :-(

  • 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