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/catch block doesn't prevent bad HTML syntax #32

Open
kentnguyen opened this issue Mar 26, 2013 · 0 comments
Open

try/catch block doesn't prevent bad HTML syntax #32

kentnguyen opened this issue Mar 26, 2013 · 0 comments

Comments

@kentnguyen
Copy link

I wrap the only setText call in a standard @try/@catch block but it does not prevent the app from crashing because of bad HTML syntax. I can't prevent this, because data is coming from user.

In this case I have #FFFFF as the color code (missing one character).

How should i wrap the call so that it raises exception normally?

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