diff --git a/data/gengallery.pl b/data/gengallery.pl index 034483612b..68f226b4ce 100755 --- a/data/gengallery.pl +++ b/data/gengallery.pl @@ -57,7 +57,13 @@ while () m/([^\t]+)\t([^\t]+)\t([^\t]+)\t([^\t]*)\t([^\t]+)\t([^\t]+)\t([^\t]+)/; # Dump it out to the file, in SGML
  • format - print "
  • $name -- $description
  • \n"; + if ($description ne "") + { + print "
  • $name -- $description
  • \n"; + } else { + print "
  • $name
  • \n"; + }; + }; # Close the pipe like good little daemons. diff --git a/en/gallery/gengallery.pl b/en/gallery/gengallery.pl index 034483612b..68f226b4ce 100755 --- a/en/gallery/gengallery.pl +++ b/en/gallery/gengallery.pl @@ -57,7 +57,13 @@ while () m/([^\t]+)\t([^\t]+)\t([^\t]+)\t([^\t]*)\t([^\t]+)\t([^\t]+)\t([^\t]+)/; # Dump it out to the file, in SGML
  • format - print "
  • $name -- $description
  • \n"; + if ($description ne "") + { + print "
  • $name -- $description
  • \n"; + } else { + print "
  • $name
  • \n"; + }; + }; # Close the pipe like good little daemons.