Closed javiereguiluz closed 1 year ago
I'm seeing the exact same error in other pages with tables:
@javiereguiluz is this solved by now? Could you provide a failing test?
I tried creating tests from the exact examples you posted above but can reproduce no error. Maybe this is solved and can be closed?
Lina, thanks a lot for taking care of reviewing and trying to reproduce this bug. We no longer see it in Symfony Docs and you can't reproduce it, so let's close this as fixed. Thanks!
Hi all! I'm building Symfony Docs with this RST parser and I'm facing a fatal error. It's hard to know the exact reason for the error, but after debugging a bit, this is the information I have.
1) The problem happens when parsing this file: https://raw.githubusercontent.com/symfony/symfony-docs/5.4/mailer.rst
2) The problem is related to some table because the error trace says:
3) I've narrowed down the problem to this line:
https://github.com/doctrine/rst-parser/blob/b692368c5e275dbda63f5521bc1dae74672933f5/lib/Nodes/TableNode.php#L216
4) After adding a
dump($this->rawDataLines);
I see this in the console:There's an empty table, but I don't know where it comes from.
Thanks!