• Hey there,

    One of our customers has a WordPress website hosted by us.

    On one of their product pages, they have an image gallery.
    In the editor, everything looks fine. Valid shortcode, it loads fine in the HTML viewer.

    However, once the page is called, WordPress apparently goes bezerk and produces really weird HTML.

    <a title="Hygienewaage Xtreme<br />
    <a href=&quot;/de/produkte/hygienewaage-xtreme/&quot; class=&quot;more&quot;>> mehr lesen</a>‚ href=’http://www2.hoefelmeyer.de/wp-content/uploads/2015/07/Hygienewaage_Xtreme1.jpg‘ data-rel=“lightbox-gallery-1″><img width=&quot;400&quot; height=&quot;392&quot; src=&quot;http://www2.hoefelmeyer.de/wp-content/uploads/2015/07/Hygienewaage_Xtreme1.jpg&quot; class=&quot;attachment-full size-full&quot; alt=&quot;Hygienewaage Xtreme
    > mehr lesen&quot; title=&quot;Hygienewaage Xtreme<br>
    <a href=&quot;/de/produkte/hygienewaage-xtreme/&quot; class=&quot;more&quot;>> mehr lesen</a>&quot; aria-describedby=&quot;gallery-1-10472&quot; srcset=&quot;http://www2.hoefelmeyer.de/wp-content/uploads/2015/07/Hygienewaage_Xtreme1-250x245.jpg 250w, http://www2.hoefelmeyer.de/wp-content/uploads/2015/07/Hygienewaage_Xtreme1.jpg 400w&quot; sizes=&quot;(max-width: 400px) 100vw, 400px&quot; /></a>
    			</dt>
    <dd class=" wp-caption-text="" gallery-caption'="" id="gallery-1-10472">
    				Hygienewaage Xtreme<br>
    </a>

    Problem page: http://www2.hoefelmeyer.de/produkte/hygienewaage-xtreme/
    Working page: http://www2.hoefelmeyer.de/produkte/signum-supreme/

    It only seems to be on this one page.

    I’ve been sat on this for hours, and It’s extremely frustrating.

    Any ideas to why this is happening?

    Thanks in advance

  • The topic ‘Gallery Shortcode producing invalid HTML’ is closed to new replies.