Open myell0w opened 11 years ago
ಠ\_ಠ
is the Unicode character ಠ_ಠ
Changing the title of this issue to more accurately reflect the true nature of the problem.
An HTML entity callback will need to be added here.
A simpler use case:
[<]()
Any hints on where to start adding support for HTML entities? I might take a look.
I'm actually not sure how spread out HTML entity parsing would be, but there is a callback here if you're using the split up project already, or here if not. If you look at the bottom of the same file, you can see how to integrate it if you're unfamiliar with it.
The interesting thing about this I don't think that the callback is invoked inside of a link like the initial failure has. I only played around with it briefly before starting down the path of splitting the projects up. It may be a bigger task, similar to getting inline link parsing...
Let me know if you need more information and I'll see if I can help more.
This has been causing pretty common crashes for me, in the meantime I've been using this NSString+HTML category to decode the entities before processing them.
When trying to parse the following text, the parser crashes in
Bypass::Parser::handleSpan with the Type LINK when accessing elit->second
I can reproduce this on iOS, the text that makes the parser crash is: