fixing unclosed html tag