Skip to content

Commit 4429d49

Browse files
committed
Bring HTML 5 head elements up to date with WD-html5-20090423.
<eventsource> was removed between WD-html5-20090212 and WD-html5-20090423.
1 parent 2309028 commit 4429d49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/HTML/HeadParser.pm

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ sub flush_text # internal
175175
# <!ENTITY % head.content "TITLE & BASE?">
176176
# <!ELEMENT HEAD O O (%head.content;) +(%head.misc;)>
177177
#
178-
# Added in HTML 5: noscript, eventsource, command
178+
# Added in HTML 5 as of WD-html5-20090423: noscript, command
179179

180180
sub start
181181
{
@@ -203,7 +203,7 @@ sub start
203203
# This is a non-standard header. Perhaps we should just ignore
204204
# this element
205205
$self->{'header'}->push_header(Isindex => $attr->{prompt} || '?');
206-
} elsif ($tag =~ /^(?:title|noscript|object|eventsource|command)$/) {
206+
} elsif ($tag =~ /^(?:title|noscript|object|command)$/) {
207207
# Just remember tag. Initialize header when we see the end tag.
208208
$self->{'tag'} = $tag;
209209
} elsif ($tag eq 'link') {

0 commit comments

Comments
 (0)