]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/map_fails_to_close_ul_element_for_empty_list.mdwn
response - you are correct, ULs require >= 1 LI children
[ikiwiki.git] / doc / bugs / map_fails_to_close_ul_element_for_empty_list.mdwn
index 4ce257252fd96114ac5aedca9c4c2f5c78138c81..a3bd3cc010361046c9930a0c294e358a31c32724 100644 (file)
@@ -38,3 +38,10 @@ Patch[[!tag patch]]:
 > 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]]
+
+>> You are right (just checked 4.01 DTD to confirm). I suspect refactoring
+>> the function would be wise. From my brief look at it to formulate the
+>> above I thought it was a bit icky.  I'm not a good judge of what would
+>> be regression-test friendly but I might have a go at reworking it. With
+>> this variety of problem I have a strong inclination to use things like
+>> map. - [[Jon]]