Don't revert the whole change, you can still use `.text` here, just use `set_rendered` instead of `rendered.append` (since `rendered` is undefined now).