| 10350 |
## Ignore the token. |
## Ignore the token. |
| 10351 |
$token = $self->_get_next_token; |
$token = $self->_get_next_token; |
| 10352 |
next B; |
next B; |
|
} elsif ({ |
|
|
caption => 1, col => 1, colgroup => 1, frame => 1, |
|
|
frameset => 1, head => 1, option => 1, optgroup => 1, |
|
|
tbody => 1, td => 1, tfoot => 1, th => 1, |
|
|
thead => 1, tr => 1, |
|
|
area => 1, basefont => 1, bgsound => 1, |
|
|
embed => 1, hr => 1, iframe => 1, image => 1, |
|
|
img => 1, input => 1, isindex => 1, noembed => 1, |
|
|
noframes => 1, param => 1, select => 1, spacer => 1, |
|
|
table => 1, textarea => 1, wbr => 1, |
|
|
noscript => 0, ## TODO: if scripting is enabled |
|
|
}->{$token->{tag_name}}) { |
|
|
|
|
|
$self->{parse_error}->(level => $self->{level}->{must}, type => 'unmatched end tag', |
|
|
text => $token->{tag_name}, token => $token); |
|
|
## Ignore the token |
|
|
$token = $self->_get_next_token; |
|
|
next B; |
|
| 10353 |
} else { |
} else { |
| 10354 |
if ($token->{tag_name} eq 'sarcasm') { |
if ($token->{tag_name} eq 'sarcasm') { |
| 10355 |
sleep 0.001; # take a deep breath |
sleep 0.001; # take a deep breath |