fix bug 821986: Strip out attributes starting with "on" from Document content before rendering editor