changeset 1437:0a80278df21f

org_to_fd.pl: convert empty comments to blank links
author Luke Mewburn <luke@mewburn.net>
date Thu, 20 Feb 2020 15:46:20 +1100
parents ad50ef2eddea
children 7c60cb0ac8c8
files contrib/tools/org_to_fd.pl
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/tools/org_to_fd.pl	Tue Feb 25 09:45:15 2020 +1100
+++ b/contrib/tools/org_to_fd.pl	Thu Feb 20 15:46:20 2020 +1100
@@ -99,6 +99,10 @@
         print_comment($1);
         next;
     }
+    if ($name =~ m/#/) {
+        print("\n");
+        next;
+    }
 
     if ($name =~ m/\s/) {
         die(sprintf("name '%s' contains space", $name));
"Welcome to our mercurial repository"