Skip to content

Commit ad308e4

Browse files
petdanceoalders
authored andcommitted
Remove docs about the possibility of Perls below 5.8, which is the minimum required.
1 parent 017cc43 commit ad308e4

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

README.md

+2-7
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,6 @@ Methods that can be used to get and/or set parser options are:
353353
`utf8_mode` enabled, but as "\\xE2\\x99\\xA5\\xE2\\x99\\xA5" when enabled.
354354
The later string is what you want.
355355

356-
This option is only available with perl-5.8 or better.
357-
358356
- $p->xml\_mode
359357
- $p->xml\_mode( $bool )
360358

@@ -563,9 +561,7 @@ identifier names can be used:
563561
was between literal start and end tags (`script`, `style`,
564562
`xmp`, `iframe`, `title`, `textarea` and `plaintext`).
565563

566-
The Unicode character set is assumed for entity decoding. With Perl
567-
version 5.6 or earlier only the Latin-1 range is supported, and
568-
entities for characters outside the range 0..255 are left unchanged.
564+
The Unicode character set is assumed for entity decoding.
569565

570566
This passes undef except for `text` events.
571567

@@ -831,8 +827,7 @@ Handlers for the following events can be registered:
831827
832828
## Unicode
833829
834-
`HTML::Parser` can parse Unicode strings when running under
835-
perl-5.8 or better. If Unicode is passed to $p->parse() then chunks
830+
If Unicode is passed to $p->parse() then chunks
836831
of Unicode will be reported to the handlers. The offset and length
837832
argspecs will also report their position in terms of characters.
838833

lib/HTML/Parser.pm

+2-7
Original file line numberDiff line numberDiff line change
@@ -482,8 +482,6 @@ then C<dtext> will be reported as "\xE2\x99\xA5\x{2665}" without
482482
C<utf8_mode> enabled, but as "\xE2\x99\xA5\xE2\x99\xA5" when enabled.
483483
The later string is what you want.
484484
485-
This option is only available with perl-5.8 or better.
486-
487485
=item $p->xml_mode
488486
489487
=item $p->xml_mode( $bool )
@@ -695,9 +693,7 @@ automatically decoded unless the event was inside a CDATA section or
695693
was between literal start and end tags (C<script>, C<style>,
696694
C<xmp>, C<iframe>, C<title>, C<textarea> and C<plaintext>).
697695
698-
The Unicode character set is assumed for entity decoding. With Perl
699-
version 5.6 or earlier only the Latin-1 range is supported, and
700-
entities for characters outside the range 0..255 are left unchanged.
696+
The Unicode character set is assumed for entity decoding.
701697
702698
This passes undef except for C<text> events.
703699
@@ -958,8 +954,7 @@ of whitespace between two text events.
958954
959955
=head2 Unicode
960956
961-
C<HTML::Parser> can parse Unicode strings when running under
962-
perl-5.8 or better. If Unicode is passed to $p->parse() then chunks
957+
If Unicode is passed to $p->parse() then chunks
963958
of Unicode will be reported to the handlers. The offset and length
964959
argspecs will also report their position in terms of characters.
965960

0 commit comments

Comments
 (0)