Closed mity closed 5 years ago
Little more minimized version:
[|]: u
[|]
---|
Finally I can see the culprit.
During the line-level analysis, we do not yet built the reference link definition database, therefore [|]
is not seen as a shortcut reference link. Therefore in the context of md_is_table_row()
, the pipe is seen as a table cell boundary char and the two last lines can form a table.
But later, when the table is finally rendered, i.e. in the context of md_process_table_row()
, the ref. link def. database is already built, the pipe is seen as link label and not as a table cell boundary.
This inconsistency leads to the crash.
With
--github
, the following minimized test case leads to seg. fault inmd_process_table_cell()
: