Tagged: textblock div bug
-
AuthorPosts
-
August 30, 2024 at 11:24 am #1465753
Hello there,
we are using a textblock as a template for our client.
Within the textblock, there is a div and a list.The closingtag of the div will sometimes sit at the end of the whole page (outside of all the shortcodes). We don’t know how or why, but upon saving, the whole page gets purged after the text block (since there is an open div-tag, I suppose).
We do have the latest enfold version and also the latest WordPress update.We don’t know how the div gets outside the shortcodes, are you able to help? Is this a known bug? Are Divs not allowed within textblocks?
- This topic was modified 3 months, 2 weeks ago by emilconsor.
August 30, 2024 at 11:57 am #1465768Hey emilconsor,
Thank you for the inquiry.
Did you add the html of the color section with the id=”av_section_8″ attribute inside a text block? It’s possible that the html is invalid or that there is a missing opening or closing tag somewhere. Please try to validate the html first before adding it to a code or text block element.
Best regards,
IsmaelAugust 30, 2024 at 12:23 pm #1465776Hi Ismael,
the code is correct, its also valid when checking with https://validator.w3.org.
August 30, 2024 at 12:36 pm #1465783Hi,
Thank you for your update.
To properly check the issue, we may need to access the site. Please provide the html code you are adding to the text block by posting it on Pastebin and share the link with us. Also, please include the login details in the private field so that we can check the page.
Best regards,
IsmaelSeptember 2, 2024 at 8:53 am #1466029Hi Ismael,
thank you! I’ve pasted the HTML here.
Currently, the problem is there again on one page (20661, see private content). The closing div is missing. If I would save the post, it would cut off now.September 3, 2024 at 5:03 am #1466081Hi,
There are nested < strong > tags in the html, and there might be other invalid tags as well.
< strong >Klima und Heizung< strong >< strong >< strong > < / strong >< / strong>< / strong >< / strong >
We edited the html a bit and removed the invalid tags: https://pastebin.com/UkWBzJhS
Best regards,
IsmaelSeptember 4, 2024 at 12:47 pm #1466209The validator didnt say that this was an error… but ok – we will observe :) thanks
September 6, 2024 at 4:48 am #1466368 -
AuthorPosts
- You must be logged in to reply to this topic.