3 ms·
That is the DOM part yes. But it wouldn't solve the expected emphasized rendering of the supposed text after <p>. The parser I know best would store a special
by fifilura 5y ago
That is the DOM part yes. But it wouldn't solve the expected emphasized rendering of the supposed text after <p>.
The parser I know best would store a special pointer from the <em> element to where it ends, i.e. the text element between <p> and </em> and keep track of that state to end <em> rendering after passing the closing tag.