Notice: replacing <...> by <...>

Cause:

This is due to:

Example:

replacing </p> by <br>

Good<p>hello</p></p> (explicit close)
Good<p>hello</p><br>
Good<p>abc<br><table>...</table></p> (implicit close)
Good<p>abc<br></p><table>...</table>

In the above sample, the <p> tag is implicitely closed when a new "block-level" tag like <table> is opened. For more info, read the definition of <p>.

Solution:

Bring the tags to the right order, remove the additional tag or move the closing tag in front of the block element.

References: