]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/map/discussion.mdwn
(no commit message)
[ikiwiki.git] / doc / plugins / map / discussion.mdwn
index c031ab14cdc5443fbb4b3cbe219d7ae52c08a6b6..54c921b0fc46a4cf2ab8a414f49597d49658154d 100644 (file)
@@ -1,7 +1,7 @@
 I'm wanting a [[map]] (with indentation levels) showing page _titles_
 instead of page 'names'.  As far as I can see, this is not an option with
 existing plugins - I can get a list of pages using [[inline]] and
-appropriate [[wikitemplates]], but that has no indentation and therefore
+appropriate [[templates]], but that has no indentation and therefore
 doesn't show structure well.
 
 The quick way is to modify the map plugin to have a 'titles' option.  The
@@ -41,3 +41,9 @@ that seems to work on the examples I tried. I am a beginner so please help me ou
                     my @linktext = (length $mapitems{$item} ? (linktext => $mapitems{$item}) : ());
                     $item=~s/^\Q$common_prefix\E\///
     
+> This was also reported as [[bugs/map_fails_to_close_ul_element_for_empty_list]];
+> this patch is simpler than the one there, but has the same problem (it emits
+> `<ul></ul>`, which technically isn't valid HTML either). --[[smcv]]
+
+>> Thanks for the tip, I added another patch addressing the issue at
+>> [[bugs/map_fails_to_close_ul_element_for_empty_list]]. --[[harishcm]]