On Fri, Nov 14, 2008 at 8:53 AM, Platonides <Platonides(a)gmail.com> wrote:
Agree. Much better to add a <htmlcomment> and
changing it to a shorter
name if needed would be trivial.
Now, some implementation details:
What to with a --> inside a html comment? And -- ?
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.
--
Andrew Garrett