Avada Forums Community Forum Fusion Builder content edit causes Code Block element to break

Tagged: 

Viewing 1 post (of 1 total)
  • Author
    Posts
  • mightymouse3062
    Participant
    Post count: 3

    Good morning,
    I am using the latest version of Avada/Fusion Builder on my wordpress website and I have a problem where any of the users edit a page that contains custom code, the save of the page converts the code block " to ", which causes the custom code to break even if there is no change made to that area of the page.

    For example, I have the following code block

    
    [fusion_code]<div class=&quot;&quot; style=&quot;text-align: center;&quot;><a class=&quot;fusion-lightbox-link about-us-video-a&quot; style=&quot;display: inline-block;&quot; target=&quot;_self&quot; href=&quot;https://www.youtube.com/watch?v=OWotoy0j5no&amp;autoplay=1&quot;><img src=&quot;wp-content/uploads/2018/02/About-Us-Video-Thumbnail.png&quot; /><div class=&quot;about-us-video-play-icon&quot;><i class=&quot;fa fontawesome-icon fa-youtube-play&quot;></i></div></a></div>[/fusion_code]
    

    Which, on save of the page turns the code block into

    
    [fusion_code]<div class="" style="text-align: center;"><a class="fusion-lightbox-link about-us-video-a" style="display: inline-block;" target="_self" href="https://www.youtube.com/watch?v=OWotoy0j5no&amp;autoplay=1"><img src="wp-content/uploads/2018/02/About-Us-Video-Thumbnail.png" /><div class="about-us-video-play-icon"><i class="fa fontawesome-icon fa-youtube-play"></i></div></a></div>[/fusion_code]
    

    How do I fix this so it does not incorrectly convert the contents of the code block to actual quotes and keeps the &quot;?

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.