change html markup. don't break line if there is no entry