8 |
## doc.write (''); |
## doc.write (''); |
9 |
## alert (doc.compatMode); |
## alert (doc.compatMode); |
10 |
|
|
|
## TODO: 1252 parse error (revision 1264) |
|
|
## TODO: 8859-11 = 874 (revision 1271) |
|
|
|
|
11 |
require IO::Handle; |
require IO::Handle; |
12 |
|
|
13 |
my $HTML_NS = q<http://www.w3.org/1999/xhtml>; |
my $HTML_NS = q<http://www.w3.org/1999/xhtml>; |
4292 |
->{has_reference}); |
->{has_reference}); |
4293 |
} elsif ($token->{attributes}->{content}) { |
} elsif ($token->{attributes}->{content}) { |
4294 |
if ($token->{attributes}->{content}->{value} |
if ($token->{attributes}->{content}->{value} |
4295 |
=~ /\A[^;]*;[\x09-\x0D\x20]*[Cc][Hh][Aa][Rr][Ss][Ee][Tt] |
=~ /[Cc][Hh][Aa][Rr][Ss][Ee][Tt] |
4296 |
[\x09-\x0D\x20]*= |
[\x09-\x0D\x20]*= |
4297 |
[\x09-\x0D\x20]*(?>"([^"]*)"|'([^']*)'| |
[\x09-\x0D\x20]*(?>"([^"]*)"|'([^']*)'| |
4298 |
([^"'\x09-\x0D\x20][^\x09-\x0D\x20]*))/x) { |
([^"'\x09-\x0D\x20][^\x09-\x0D\x20]*))/x) { |
6355 |
->{has_reference}); |
->{has_reference}); |
6356 |
} elsif ($token->{attributes}->{content}) { |
} elsif ($token->{attributes}->{content}) { |
6357 |
if ($token->{attributes}->{content}->{value} |
if ($token->{attributes}->{content}->{value} |
6358 |
=~ /\A[^;]*;[\x09-\x0D\x20]*[Cc][Hh][Aa][Rr][Ss][Ee][Tt] |
=~ /[Cc][Hh][Aa][Rr][Ss][Ee][Tt] |
6359 |
[\x09-\x0D\x20]*= |
[\x09-\x0D\x20]*= |
6360 |
[\x09-\x0D\x20]*(?>"([^"]*)"|'([^']*)'| |
[\x09-\x0D\x20]*(?>"([^"]*)"|'([^']*)'| |
6361 |
([^"'\x09-\x0D\x20][^\x09-\x0D\x20]*))/x) { |
([^"'\x09-\x0D\x20][^\x09-\x0D\x20]*))/x) { |