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

unhandled exception for strings with the only letter #51

Open
ghost opened this issue Mar 28, 2016 · 1 comment
Open

unhandled exception for strings with the only letter #51

ghost opened this issue Mar 28, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 28, 2016

"truncate" function works incorrect in case of one-letter-string.
It finds no valid chuncks (line 198) and finally falls with "elem.lastChild is null" error in "getLastChild".

@shuiRong
Copy link

same here.
I just open the examples/example1.html page and do nothing.

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

No branches or pull requests

1 participant