| 1 |
|
2008-10-16 Wakaba <wakaba@suika.fam.cx> |
| 2 |
|
|
| 3 |
|
* Tokenizer.pm.src: New token type END_OF_DOCTYPE_TOKEN added. |
| 4 |
|
New states DOCTYPE_TAG_STATE and |
| 5 |
|
BOGUS_DOCTYPE_INTERNAL_SUBSET_AFTER_STATE are added. (Bogus |
| 6 |
|
string after the internal subset, which was handled by the state |
| 7 |
|
BOGUS_DOCTYPE_STATE, are now handled by the new state.) Support |
| 8 |
|
for comments, bogus comments, and processing instructions in the |
| 9 |
|
internal subset. If there is the internal subset, then emit the |
| 10 |
|
doctype token before the internal subset (with its |
| 11 |
|
$token->{has_internal_subset} flag set) and an |
| 12 |
|
END_OF_DOCTYPE_TOKEN after the internal subset. |
| 13 |
|
|
| 14 |
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
2008-10-15 Wakaba <wakaba@suika.fam.cx> |
| 15 |
|
|
| 16 |
* Tokenizer.pm.src: $self->{s_kwd} for non-DATA_STATE states are |
* Tokenizer.pm.src: $self->{s_kwd} for non-DATA_STATE states are |