[VE][html5] Confusing error message with div inside p

Hello,

when you validate this code:

    <p>
       <div>foo</div>
    </p>


You will get the following error message: " No p element in scope but a 
p end tag seen."

I find this message very confusing as there /is/ a p element in scope. A 
less confusing message could be "invalid div element inside p element".


Thanks
Jona Moß

Received on Sunday, 4 January 2015 03:27:48 UTC