On Wed, 22 Jan 2003, Pieter Suurmond wrote:
Richard Grevers wrote:
On Wed, 22 Jan 2003 17:36:07 +0100, Tomasz Wegrzanowski
We should completely forbid </td>, </th> and </tr>. They are just noise and table is completely unambiguous without them.
Except Netscape 4 which will then refuse to display the page at all if there is any nesting of tables!
And therefore, the html-output generated by the wikiserver should include terminating -td, -th, and tr-tags automatically.
Our current parser *tries* to do this (insert end tags where they're missing), but it doesn't do a very good job of it.
Anyone who'd like to rewrite it is more than welcome to do so! Please take a look at removeHTMLtags() in OutputPage.html. Once you've finished wiping the tears from your eyes, write up something better. :) If you can integrate it with the rest of the markup parsing, so much the better.
I think Tomasz Wegrzanowski was talking about wiki-source here and not about wiki-html-output. These are 2 different things (input and output).
As long as we allow use of the HTML tags*, we should take them both with and without end tags. We should ideally produce valid XHTML from *any* given input. If the input is broken, we may not produce what the author intended, but we *must* produce something that will pass a validating parser.
*(And if we some day decide not to allow them, we should provide equivalent functionality and, if possible, automatically convert articles to use the newer system at the time the change is made. If automatic conversion is not possible, we should make a conscious effort to fix anything that's broken.)
-- brion vibber (brion @ pobox.com)