Flatten a p just containing an htm into a p-htm