瀏覽代碼

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


Loading…
取消
儲存