소스 검색

Forgot to check numeric/hexadecimal entities for string chars.

tags/v0.2
Ben Kurtovic 11 년 전
부모
커밋
0e78571672
1개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. +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++;


불러오는 중...
취소
저장