use textContent instead of stripping HTML in undo

Use textContent directly when pushing undo revisions