1 |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
2 |
|
|
3 |
|
* HTML.pm.src: Make a "bare ero" error for unknown |
4 |
|
entities point the "&" character. |
5 |
|
|
6 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
7 |
|
|
8 |
|
* HTML.pm.src: It turns out that U+FFFD don't have to |
9 |
|
be added to the list of excluded characters. |
10 |
|
|
11 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
12 |
|
|
13 |
|
* HTML.pm.src ($char_onerror): Have character decoder's |line| |
14 |
|
and |column| a higher priority than the one set by the |
15 |
|
tokenizer's input handler. |
16 |
|
($self->{read_until}): Exclude U+FFFD (but this might |
17 |
|
not be necessary, since now we do line/column fixup in |
18 |
|
the character decode handle). |
19 |
|
|
20 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
21 |
|
|
22 |
|
* HTML.pm.src: Use |{read_until}| where possible. |
23 |
|
|
24 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
25 |
|
|
26 |
|
* HTML.pm.src: Change |{getc_until}| to |{read_until}| |
27 |
|
and |manakai_getc_until| to |manakai_read_until| to |
28 |
|
reduce the number of string copies. |
29 |
|
|
30 |
|
2008-09-14 Wakaba <wakaba@suika.fam.cx> |
31 |
|
|
32 |
* HTML.pm.src (parse_char_string): Use newly created |
* HTML.pm.src (parse_char_string): Use newly created |
33 |
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
|Whatpm::Charset::DecodeHandle::CharString| instead of Perl's |
34 |
standard feature to |open| a string as a filehandle, |
standard feature to |open| a string as a filehandle, |