]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/bugs/map_generates_malformed_HTML.mdwn
map: Correct reversion introduced in version 3.20110225 that could generate invalid...
[ikiwiki.git] / doc / bugs / map_generates_malformed_HTML.mdwn
index d47d066a8ac60d00cac38eacacf23438f272ca31..890a6ef7fe790b94311fcc1d89ced8752bf34941 100644 (file)
@@ -1,4 +1,5 @@
 [[!template id=gitbranch branch=smcv/ready/map author="[[Simon McVittie|smcv]]"]]
+[[!tag patch]]
 
 `\[[!map]]` can generate bad HTML with unbalanced open/close tags
 (in XML terms: "not well-formed") in certain situations. This
@@ -21,8 +22,8 @@ In particular, on a site with these pages:
     * 3
 * beta
 
-the maps "alpha/1 or beta", "alpha/1/i* or alpha/2/a or beta" and
-"alpha/1/i* or alpha/2/a" have malformed HTML.
+the maps "`alpha/1 or beta`", "`alpha/1/i* or alpha/2/a or beta`" and
+"`alpha/1/i* or alpha/2/a`" have malformed HTML.
 
 My `ready/map` branch adds a regression test and makes it pass.
 
@@ -31,3 +32,5 @@ HTML with redundant `</ul><ul>` pairs, marks the redundant
 pairs, and edits them out afterwards - but it works. If anyone can come
 up with a cleaner algorithm that avoids generating the redundant tags
 in the first place, that would be even better. --[[smcv]]
+
+> [[merged|done]] (not thrilled at this solution, but it works) --[[Joey]]