Maybe someone will come along and correct everything for you, but I won't look at the problem until the errors are fixed. My editor says there are 63 of them.
I know a tag ending in /> will not cause your problems but how hard is it to do a replace /> with a >?
How hard is it to add the end tag for <h4> and <a>? and can't we replace </br> with the correct tag?