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
Joey Hess 2009-11-16 15:44:03 -05:00
parent 65e9fbf6e9
commit 20cdadba32
1 changed files with 1 additions and 1 deletions

View File

@ -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);