浏览代码

Minor bugfix.

tags/v0.4
Ben Kurtovic 10 年前
父节点
当前提交
a15f6172c0
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. +3
    -1
      mwparserfromhell/parser/tokenizer.c

+ 3
- 1
mwparserfromhell/parser/tokenizer.c 查看文件

@@ -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))


正在加载...
取消
保存