Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try fixing &-deleting bug #12

Closed
wants to merge 1 commit into from
Closed

Conversation

gigaflw
Copy link

@gigaflw gigaflw commented Sep 8, 2017

Using textContent instead of innerHTML fixes the bug when deleting HTML entities.

However, textContent raises the browser compatibility to IE9.
An alternative is to use innerText which, however, ignore trailing white spaces, so more checks should be done.

@yuanqing
Copy link
Owner

This issue is fixed as of 2.0.x

@yuanqing yuanqing closed this Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants