avoid fallthrough to default meta header addition for title
With the htmlscrubber disabled, it was adding a <meta name=title> tag for the title, which is pointless.master
parent
65e9fbf6e9
commit
20cdadba32
|
@ -88,7 +88,7 @@ sub preprocess (@) {
|
|||
# Metadata collection that needs to happen during the scan pass.
|
||||
if ($key eq 'title') {
|
||||
$pagestate{$page}{meta}{title}=HTML::Entities::encode_numeric($value);
|
||||
# fallthrough
|
||||
return "";
|
||||
}
|
||||
elsif ($key eq 'description') {
|
||||
$pagestate{$page}{meta}{description}=HTML::Entities::encode_numeric($value);
|
||||
|
|
Loading…
Reference in New Issue