Use find_emph_char for table column parsing

Fix #77
This commit is contained in:
Tzu-ping Chung 2014-08-11 03:24:54 +08:00
parent 48a19b31bf
commit e7bcbe3fa6

View file

@ -2189,8 +2189,9 @@ parse_table_row(
cell_start = i;
while (i < size && data[i] != '|')
i++;
i--;
size_t len = find_emph_char(data + i, size - i, '|');
i += len ? len : size - i;
cell_end = i - 1;