Conversation
review · 3 starsImage lazy load is worked. But in WordPress 4.9.7, <h3><p>example</p><h3> is automatically changed to <h3></h3><p>example</p>.
Hi @takuya108817 , thanks for opening the issue. I guess the problem is that p is not allowed inside a heading element, and that the parser I use in the plugin »corrects« that. I will take a closer look at it, but it could be the case that I cannot do something to fix it. Best, Florian
Hi @takuya108817 , just noticed now that this is a review. If you have issues with the plugin, it would be great if you could open a thread in the support forum before writing a review 🙂 To your problem: Your code needs to look like this: <h3><p>example</p></h3> Then it should work. The problem is the missing / in the closing </h3> . Because of that, it was changed. Best, Florian
Hi @florlanbrinkmann thanks reply. So now, the newest version plugin, is it work in the blow code? <h3><p>example</p></h3> and not work like below, right? <h3><p>example</p><h3>
Hi @takuya108817 , yes, because <h3><p>example</p><h3> is invalid HTML. Best, Florian
Hi @takuya108817 , thanks for opening the issue. I guess the problem is that p is not allowed inside a heading element, and that the parser I use in the plugin »corrects« that. I will take a closer look at it, but it could be the case that I cannot do something to fix it. Best, Florian
Hi @takuya108817 , just noticed now that this is a review. If you have issues with the plugin, it would be great if you could open a thread in the support forum before writing a review 🙂 To your problem: Your code needs to look like this: <h3><p>example</p></h3> Then it should work. The problem is the missing / in the closing </h3> . Because of that, it was changed. Best, Florian
Hi @florlanbrinkmann thanks reply. So now, the newest version plugin, is it work in the blow code? <h3><p>example</p></h3> and not work like below, right? <h3><p>example</p><h3>
Hi @takuya108817 , yes, because <h3><p>example</p><h3> is invalid HTML. Best, Florian