Last modified: 2014-09-20 19:48:34 UTC
Here is a simple Template:Test: <div>{{{1}}}</div> If the parameter is an unordered list it expands to bad HTML: {{test|This is an unordered list: * foo * bar * baz}} Note the mismatching opening and ending tags in the final HTML: <div>This is an unordered list: <ul><li> foo </li><li> bar </li><li> baz</div> </li></ul>
is html tidy not used here?
This has nothing to do with templates. The same behavior is also exhibited with the following wikitext: <div>This is an unordered list: * foo * bar * baz</div>