fixed html formating for contenteditables