HTML tag close fix