Fix the two br tags before output tag