• Hi.
    I am using plugin “Gutenberg Post Blocks” (for grids) and tried out plugin “TranslatePress”, but this destroys my grids, ever heard of this issue? So the HTML is broken as TranslatePress is replacing some of the apostrophs (") with different apostrophs (), so tags are not closing properly anymore.

    In the following example the alt-attribute is not closing after Karower Teiche but closing after class=. With this, the src and class attribute is now within the value of alt, and the former classname ultp-block-content is now an attribute name.

    <img alt="Karower Teiche” src=”https://berlin.abklappern.com/wp-content/uploads/20200417_164307-scaled.jpg” /></a></div><div class=" ultp-block-content="" ultp-block-content-bottomposition"="">

    If you compare the original german and english version, you see new div’s and a’s around this img. Do you have an explanation why this happens?

    german version works: https://berlin.abklappern.com/ab-ins-gruene/
    english version fails: https://berlin.abklappern.com/en/ab-ins-gruene/

    I tried out setting attribute data-no-translation (of translatePress) to avoid translation of this grid, also configured exclusion-selectors in translatePress to stop this. also stopping translating dynamic stuff. did not help. option “fixing html” breaks the page at all.

    Thanks for your help.
    Sven

    • This topic was modified 4 years, 8 months ago by schmorbraten. Reason: These different apostrophs are not shown in this editor and break my message
    • This topic was modified 4 years, 8 months ago by schmorbraten. Reason: the editor removed attributes of the img tag
    • This topic was modified 4 years, 8 months ago by t-p.

    The page I need help with: [log in to see the link]

  • The topic ‘TranslatePress breaks HTML of GutenbergPostBlocks’ is closed to new replies.