Fix unclosed HTML tags