]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/map_fails_to_close_ul_element_for_empty_list.mdwn
attempt to clear up the bugs list a bit
[ikiwiki.git] / doc / bugs / map_fails_to_close_ul_element_for_empty_list.mdwn
index b1f8ed2b31cbcc6d08bcfcb40ed45225a8bbe1ea..4ce257252fd96114ac5aedca9c4c2f5c78138c81 100644 (file)
@@ -33,3 +33,8 @@ Patch[[!tag patch]]:
      
 
 -- [[Jon]]
+
+> Strictly speaking, a `<ul>` with no `<li>`s isn't valid HTML either...
+> could `map` instead delay emitting the first `<ul>` until it determines that
+> it will have at least one item? Perhaps refactoring that function into
+> something easier to regression-test would be useful. --[[smcv]]