Commented out unfinished end html check (line 795)