We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0423689 commit 2309028Copy full SHA for 2309028
lib/HTML/HeadParser.pm
@@ -203,8 +203,7 @@ sub start
203
# This is a non-standard header. Perhaps we should just ignore
204
# this element
205
$self->{'header'}->push_header(Isindex => $attr->{prompt} || '?');
206
- } elsif ($tag =~ /^(?:title|(?:no)?script|style|object
207
- |eventsource|command)$/x) {
+ } elsif ($tag =~ /^(?:title|noscript|object|eventsource|command)$/) {
208
# Just remember tag. Initialize header when we see the end tag.
209
$self->{'tag'} = $tag;
210
} elsif ($tag eq 'link') {
0 commit comments