HTML tag correction