Image Accordion: link in content causes failure
-
I am hoping someone has already encountered and defeated this issue. When setting the title & content for each panel of the image accordion, adding plain text in the editor causes no issues and things work as expected. Adding a single simple link in that content is making my entire accordion fail from that point backward. For example, if I have 4 panels and have a link in the content of panel 3, then panels 1, 2 & 3 fail, but panel 4 continues to work properly.
Upon viewing the code in a validator, the result is “Start tag “a” seen but an element of the same type was already open.” In other words, there is a link tag inside another link tag:
Each panel starts with:
<a href="#/" style="background-image: url...> <div class="overlay"> <div class="overlay-inner"> <div class="overlay-inner"> <h2 class="img-accordion-title">Title Here</h2> <p><p>The content starts here. A <a href="https://www.google.com">link</a> breaks the code.....
I hope to avoid workarounds and instead find the root issue. Any thoughts?
Thank you
- The topic ‘Image Accordion: link in content causes failure’ is closed to new replies.