insert returned HTML correctly