• Resolved gerritv

    (@gerritv)


    My home page contains a <script type="text/template"> element. Within this element is an <article> element. And within the <article> element are some <div> elements.

    Ginger places a closing </script> element somewhere within the <div> elements (replacing a closing </span> element), while the original closing </article> and </script> elements are removed.

    This breaks my home page!

    Another problem:

    I have some youtube videos. These are correctly blocked by Ginger. But after the cookies are accepted, the page is reloaded without the video. I have to manually do another reload before the video is shown.

    https://www.ads-software.com/plugins/ginger/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi Gerrit,

    I’m not the plugin author, but about the plugin breaking your HTML:

    I found that the plugin parses the HTML of each page (using libxml). If your HTML has any unclosed elements (normally accepted by web browsers without problems), this will result in some of the HTML being reformatted or removed to make it valid XML.

    You might want to check if your HTML is valid.

    Menno

    Plugin Author manafactory

    (@manafactory)

    Hi Gerrit,
    as suggested by Menno, it could be related with html validation.

    Let me know if you have solved it

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ginger breaks my theme’ is closed to new replies.