Fixed issue with a tag being wrongly self-closed.
Pre html tags should not be inside paragraphs.