Commits

chuck  committed 24b7986

removed href for dangling wikilinks

  • Participants
  • Parent commits 75c96f2

Comments (0)

Files changed (1)

File nom/plugins/wikilinks.py

         class_ = 'wikilink'
         if href is None:
             class_ = 'dangling-wikilink'
-            href = link
+            # href = link
+            # This won't fly for a real wiki, but it's the safest thing
+            href = '#'
         return "<a class='%s' href='%s'>%s</a>" % (class_, href, title)
 
     def _process_string(self, string, env):