Tech:Bad expansion of see element results in broken ul nodes
From Wikitravel Shared
[edit] note
Looks like the reported bug might have been only a temporary debugging state. Currently, the pages are looking just fine and the pre-exapnd and post-expand (debugging?) information is no longer included in the pages.
[edit] What happens
A cascade of unclosed unordered lists shows up.
This is quite noticeable on http://wikitravel.org/en/Cincinnati By the time the end of the document is reached, the page is unusuable.
[edit] When it happens
Appears to happen when a see element goes through template expansion. The end of the 'see' element conversion has text that looks like: <!-- </li></ul> <p>Pre-expand include size: 1878 bytes Post-expand include size: 143 bytes Template argument size: 7 bytes Maximum: 2097152 bytes -->
Eeek you guys don't escape HTML in bug tickets... view html source to see what I'm actually saying here I guess.
Note that the comment begins before the list item and the ul is closed. Those elements never get closed and cause the cascade to appear.
- The problem actually appears to be when see listings are used for airports. People are putting templates inside the "see", and the template inclusion includes some RDF, so everything's getting muddled. Not using RDF templates inside of custom tags like "see" will work around the problem for now, but it's something that eventually needs to be fixed. --Evan 15:32, 18 October 2006 (EDT)
[edit] What should happen
The page should be well layed out.
[edit] How to fix it
Start the comment after the </ul>

