metatools/sysdeftools/rootsysdef.pl
changeset 639 0e65f93be3cb
parent 636 29e6a24e9521
child 660 66ff3e731c60
--- a/metatools/sysdeftools/rootsysdef.pl	Fri Aug 27 14:50:55 2010 +0100
+++ b/metatools/sysdeftools/rootsysdef.pl	Mon Sep 06 09:57:24 2010 +0100
@@ -414,7 +414,7 @@
 				}
 			}
 		}
-	elsif($tag eq 'meta')
+	elsif($tag eq 'meta' && $node->getAttribute('href'))
 		{
 		&fixHref($node,$file);
 		foreach my $child (@{$node->getChildNodes}) {$node->removeChild($child)} # can't have children