| 5379 |
address => 1, blockquote => 1, center => 1, dir => 1, |
address => 1, blockquote => 1, center => 1, dir => 1, |
| 5380 |
div => 1, dl => 1, fieldset => 1, |
div => 1, dl => 1, fieldset => 1, |
| 5381 |
h1 => 1, h2 => 1, h3 => 1, h4 => 1, h5 => 1, h6 => 1, |
h1 => 1, h2 => 1, h3 => 1, h4 => 1, h5 => 1, h6 => 1, |
| 5382 |
listing => 1, menu => 1, ol => 1, p => 1, ul => 1, |
menu => 1, ol => 1, p => 1, ul => 1, |
| 5383 |
pre => 1, |
pre => 1, listing => 1, |
| 5384 |
}->{$token->{tag_name}}) { |
}->{$token->{tag_name}}) { |
| 5385 |
## has a p element in scope |
## has a p element in scope |
| 5386 |
INSCOPE: for (reverse @{$self->{open_elements}}) { |
INSCOPE: for (reverse @{$self->{open_elements}}) { |
| 5399 |
} # INSCOPE |
} # INSCOPE |
| 5400 |
|
|
| 5401 |
!!!insert-element-t ($token->{tag_name}, $token->{attributes}); |
!!!insert-element-t ($token->{tag_name}, $token->{attributes}); |
| 5402 |
if ($token->{tag_name} eq 'pre') { |
if ($token->{tag_name} eq 'pre' or $token->{tag_name} eq 'listing') { |
| 5403 |
!!!next-token; |
!!!next-token; |
| 5404 |
if ($token->{type} == CHARACTER_TOKEN) { |
if ($token->{type} == CHARACTER_TOKEN) { |
| 5405 |
$token->{data} =~ s/^\x0A//; |
$token->{data} =~ s/^\x0A//; |