Changeset 24431 for main/trunk/greenstone2/perllib/plugins/HTMLPlugin.pm
- Timestamp:
- 2011-08-19T17:04:41+12:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/HTMLPlugin.pm
r23835 r24431 1256 1256 $value=$2; 1257 1257 1258 if (! $value) { 1259 $metatag =~ m/(?:name|http-equiv)\s*=\s*([^\s\>]+)/is; 1260 $value=$1; 1261 } 1262 if (!defined $value) { 1263 print $outhandle "HTMLPlugin: can't find VALUE in \"$metatag\"\n"; 1258 # The following code assigns the metaname to value if value is 1259 # empty. Why would we do this? 1260 #if (! $value) { 1261 # $metatag =~ m/(?:name|http-equiv)\s*=\s*([^\s\>]+)/is; 1262 # $value=$1; 1263 #} 1264 if (!defined $value || $value eq "") { 1265 print $outhandle "HTMLPlugin: can't find VALUE in <meta $metatag >\n" if ($self->{'verbosity'} > 2); 1264 1266 next; 1265 1267 }
Note:
See TracChangeset
for help on using the changeset viewer.