Closed sebix closed 6 years ago
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:
<dl>
</dl>
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: