Remove innerXHTML dependency (only needed for nicEdit) and fix-up escaping.