• Image lazy load is worked. But in WordPress 4.9.7, <h3><p>example</p><h3> is automatically changed to <h3></h3><p>example</p>.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    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

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    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

    Thread Starter Takuya Matsuda

    (@takuya108817)

    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>

    Plugin Author Florian Brinkmann

    (@florianbrinkmann)

    Hi @takuya108817,

    yes, because <h3><p>example</p><h3> is invalid HTML.

    Best,
    Florian

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Unexpected HTML Tag Change’ is closed to new replies.