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.
2 parents 56e8329 + 84abf89 commit bf9ce45Copy full SHA for bf9ce45
extensions/table.c
@@ -190,7 +190,7 @@ static table_row *row_from_string(cmark_syntax_extension *self,
190
cell->end_offset = offset + cell_matched - 1;
191
cell->internal_offset = 0;
192
193
- while (cell->start_offset > 0 && string[cell->start_offset - 1] != '|') {
+ while (cell->start_offset > row->paragraph_offset && string[cell->start_offset - 1] != '|') {
194
--cell->start_offset;
195
++cell->internal_offset;
196
}
0 commit comments