-
Notifications
You must be signed in to change notification settings - Fork 23
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
Empty description lists throw error #56
Comments
I ran the tests with python3 and using version 2.3.3 (which had more bugs), I need to rerun it with a current version. |
This kind of seems like an upstream bug. txstyle only returns:
If you find more, I'd recommend just posting only the situations where php-textile returns something useful where we fail or don't match. Otherwise, isn't this more like a "garbage in/garbage out" situation? edit: We should probably fix it so that it doesn't bomb, but it's hard to say what the fix should be given that even php-textile's output isn't particularly helpful. |
I think that the function should never fail, even if the input does not make sense. If the input is nonsense, the output can be nonsense too, yes. php-textile doesn't fail too, it gives an empty list, that's ok. |
I played a bit with the american fuzzy lop (afl) :)
The examples used for afl are all copied from the examples on the website. It found this issue:
it throws:
The text was updated successfully, but these errors were encountered: