Skip to content

Commit

Permalink
Minor bugfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
earwig committed Oct 24, 2014
1 parent 9fc4b90 commit a15f617
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mwparserfromhell/parser/tokenizer.c
Expand Up @@ -2677,10 +2677,12 @@ Tokenizer_handle_table_cell(Tokenizer* self, const char *markup,
{
uint64_t old_context = self->topstack->context;
uint64_t cell_context;
Py_ssize_t reset;
PyObject *padding, *cell, *style = NULL;
const char *close_open_markup = NULL;

self->head += strlen(markup);
Py_ssize_t reset = self->head;
reset = self->head;

if (!Tokenizer_CAN_RECURSE(self)) {
if (Tokenizer_emit_text(self, markup))
Expand Down

0 comments on commit a15f617

Please sign in to comment.