We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a6e335 commit 84abf89Copy full SHA for 84abf89
extensions/table.c
@@ -157,7 +157,7 @@ static table_row *row_from_string(cmark_syntax_extension *self,
157
cell->start_offset = offset;
158
cell->end_offset = offset + cell_matched - 1;
159
160
- while (cell->start_offset > 0 && string[cell->start_offset - 1] != '|') {
+ while (cell->start_offset > row->paragraph_offset && string[cell->start_offset - 1] != '|') {
161
--cell->start_offset;
162
++cell->internal_offset;
163
}
0 commit comments