-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Andrew Garrett wrote: > Forgive me for asking the obvious, but why on Earth do we want to be > able to insert HTML comments? Comments are used in markup/programming > languages, and are for the benefit of those who edit the code > subsequently. Of course, nobody edits the parsed HTML, at least not > directly, so it doesn't make much sense to put comments in there. > > Step back from implementation, and first ask "What's the use case?" > Without a use case, you can't hope to think of a sensible > implementation, because so much of implementation depends on how the > feature is to be used.
The one case I might think of is microformats that make use of comments... but that's bad practice, since parsers can legitimately strip comments. :D - -- brion -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkkcw+4ACgkQwRnhpk1wk467dwCfcK2K7mF02Yr2MVmSYNibCHaR 1IcAoOBnJaxQaFN9vKdl9bwN6tDaIAgf =1xD6 -----END PGP SIGNATURE----- _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
