-
Notifications
You must be signed in to change notification settings - Fork 11
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
Crashes when parsing AST of table with caption. #11
Comments
I took the liberty of formatting your json to make it easier to read. So I believe the issue is that the format changed and I should have updated |
Thanks for looking into it, I already figured that it might be due to some change in the serialisation. I'll take a look at the code tomorrow and see if I can implement anything useful, should probably be able to get it fixed and tested tomorrow, I'll send a pull request your way if I make any useful progress. |
Just noting that, afaict, this crashes result from any tables at all, whether or not they have captions. At least against pandoc 2.9.2.1 (using pandoc_ast Here's failing table: | A | B | C |
|---|---|---|
| 1 | 1 | 1 |
| 2 | 2 | 2 | Which (when using
I don't mean to add to your workload, but I think it could be helpful for users to add a warning to the readme noting that support for the pandoc api is not actively maintained, and indicating the current maximum pandoc version supported. |
Hey,
really awesome work here! I noticed a crash when parsing the AST of this table tho:
Here is the raw JSON:
I hope that is enough information to reproduce this issue. I'm using pandoc version 2.10.1, pandoc crate 0.8.2 and pandoc-ast 0.8.0.
The text was updated successfully, but these errors were encountered: