Closed fr3aker closed 2 years ago
@fr3aker, thanks for reporting.
Here are my remarks explaining why I've changed the issue title a bit:
[
is present and it is the last thing in text, StopIteration
is raised.So it looks like a problem with parsing footnotes (footlinks) once again - might be related to #124. I will have a look at it.
OK, so hopefully fixed now, all tests, including python -m test.specification
are passing. I also added some remarks in b47d16ca6e3049c0f22773fd0f942f40e4adf39d.
I cannot imagine any negative side-effects of this simple fix, yet some thorough testing of the master branch version is welcome.
Took me a while to test this but I finally found time to and it's working very well now. I haven't seen any more parsing errors with 0.8.2! Thank you!
@fr3aker, thanks for looking at it. :)
Trying to parse a text that ends with
\n\n[
causes aStopIteration
exception. Tested on v0.8.1.