if the previous tag is a self close tag like <br /> it fails to close the fo...

...llowing non-closed tag