Fix closing HTML tags