This website works better with JavaScript.
首頁
說明
登入
ben
/
mwparserfromhell
镜像来自
https://github.com/earwig/mwparserfromhell
關註
1
收藏
1
複製
0
程式碼
版本發佈
24
Activity
瀏覽代碼
Forgot to check numeric/hexadecimal entities for string chars.
tags/v0.2
Ben Kurtovic
12 年之前
父節點
a1e6dfcef6
當前提交
0e78571672
共有
1 個文件被更改
,包括
8 次插入
和
0 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
mwparserfromhell/parser/tokenizer.c
+ 8
- 0
mwparserfromhell/parser/tokenizer.c
查看文件
@@ -1045,6 +1045,14 @@ Tokenizer_really_parse_entity(Tokenizer* self)
if (this == *MARKERS[j])
FAIL_ROUTE_AND_EXIT()
}
j = 0;
while (1) {
if (!valid[j])
FAIL_ROUTE_AND_EXIT()
if (this == valid[j])
break;
j++;
}
text[i] = this;
self->head++;
i++;
Write
Preview
Loading…
取消
儲存