fixed non closed tags, entity &lt; and broken tags