Closed rossbar closed 2 years ago
Thanks for reporting this. This makes source sync significantly more complicated, so the type of approach I've been using really can't be adapted. I think I have an idea for a more general algorithm that can handle this, and will try to get that implemented as soon as possible. I'll at least fix things soon so that source sync fails without bringing down the whole program.
This entire category of errors from syncing code to source line numbers should be permanently eliminated by the last commit. I need to work on a few other issues and will then put a new version on PyPI.
Markdown files with html coded characters result in a
StopIteration
error from codebraid.Minimal reproducing example
It seems this is tangentially related to other issues re: handling escape characters e.g. #36. The discussions there and in #38 nicely explain how the
StopIteration
exception itself comes about.Version info
Python: 3.9.2 codebraid: 0.5.0 pandoc: 2.13