Patch for bug : 2875009
Brought to you by:
derrickoswald
<p> tag nodes with a body are mis-represent - ID: 2875009
The virtual tag should be inserted only if there it cannot find the matching end tag for the composite tags. The precedence " else if (!next.isEndTag ())" should be higher ( it should be checked first) when compared to "else if (isTagToBeEndedFor (ret, next))".
CompositeTagScanner-patch