Updated core for htmlarea