diff options
author | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2013-03-17 15:01:13 -0400 |
---|---|---|
committer | Amitai Schlair <schmonz-web-ikiwiki@schmonz.com> | 2013-03-17 15:01:13 -0400 |
commit | 137ed653ea6b080d540f0740e280e22aa2d40e43 (patch) | |
tree | 966cdf5eb9326f1e2c91ebe72eb867928506c8a9 /doc/bugs/map_generates_malformed_HTML.mdwn | |
parent | b5bbe66b178a6634a37f6597e55272e8a6869263 (diff) | |
parent | 030c7a4f8b06b097e18f638b0650baa966c50964 (diff) | |
download | ikiwiki-137ed653ea6b080d540f0740e280e22aa2d40e43.tar ikiwiki-137ed653ea6b080d540f0740e280e22aa2d40e43.tar.gz |
Merge branch 'master' into fancypodcast
Conflicts:
doc/todo/fancypodcast.mdwn
Diffstat (limited to 'doc/bugs/map_generates_malformed_HTML.mdwn')
-rw-r--r-- | doc/bugs/map_generates_malformed_HTML.mdwn | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/bugs/map_generates_malformed_HTML.mdwn b/doc/bugs/map_generates_malformed_HTML.mdwn index d47d066a8..890a6ef7f 100644 --- a/doc/bugs/map_generates_malformed_HTML.mdwn +++ b/doc/bugs/map_generates_malformed_HTML.mdwn @@ -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]] |