3699 |
!!!cp ('t87.2'); |
!!!cp ('t87.2'); |
3700 |
# |
# |
3701 |
} elsif ({ |
} elsif ({ |
3702 |
## TODO: |
b => 1, big => 1, blockquote => 1, body => 1, br => 1, |
3703 |
|
center => 1, code => 1, dd => 1, div => 1, dl => 1, em => 1, |
3704 |
|
embed => 1, font => 1, h1 => 1, h2 => 1, h3 => 1, ## No h4! |
3705 |
|
h5 => 1, h6 => 1, head => 1, hr => 1, i => 1, img => 1, |
3706 |
|
li => 1, menu => 1, meta => 1, nobr => 1, p => 1, pre => 1, |
3707 |
|
ruby => 1, s => 1, small => 1, span => 1, strong => 1, |
3708 |
|
sub => 1, sup => 1, table => 1, tt => 1, u => 1, ul => 1, |
3709 |
|
var => 1, |
3710 |
}->{$token->{tag_name}}) { |
}->{$token->{tag_name}}) { |
3711 |
!!!cp ('t87.2'); |
!!!cp ('t87.2'); |
3712 |
!!!parse-error (type => 'not closed', |
!!!parse-error (type => 'not closed', |
3717 |
pop @{$self->{open_elements}} |
pop @{$self->{open_elements}} |
3718 |
while $self->{open_elements}->[-1]->[1] & FOREIGN_EL; |
while $self->{open_elements}->[-1]->[1] & FOREIGN_EL; |
3719 |
|
|
3720 |
$self->{insertion_mode} &= ~ $self->{insertion_mode}; |
$self->{insertion_mode} &= ~ IN_FOREIGN_CONTENT_IM; |
3721 |
## Reprocess. |
## Reprocess. |
3722 |
next B; |
next B; |
3723 |
} else { |
} else { |