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