[BUG] Petal removes XML comments, was: Re: [Petal] HTML Comments
Chris Croome
chris at webarchitects.co.uk
Wed Sep 3 13:28:12 BST 2003
Hi
The bug I just reported about CDATA reminded me of the outstanding issue
with comments (over a year old!).
Currently all comments are removed by Petal, what I think should happen
is that comments like this should be preserved:
<!-- foo -->
And comments in the Petal style should be removed:
<!--? bar -->
Perhaps this bug can be fixed at the same time as the CDATA one?
For reference the section in the XML spec on comments is here:
http://www.w3.org/TR/REC-xml#sec-comments
Chris
On Tue 20-Aug-2002 at 05:48:41 +0100, Jean-Michel Hiver wrote:
> On Tue 20-Aug-2002 at 04:06:54PM +0100, Chris Croome wrote:
> >
> > On Tue 20-Aug-2002 at 11:04:24 -0400, William McKee wrote:
> > >
> > > However, enclosing a script within comment tags is a habit that
> > > most Javascript authors and websites recommend. It's probably not
> > > necessary anymore but enough people are doing it to make it
> > > problematic if Petal strips the html Comments.
> >
> > I totally agree.
>
> Ok, ok guys, I understood it's a bug :-)
>
> I'm sorry I'm a bit busy with MKDoc right now. You know refactoring,
> cleaning up, implementing new things, that kind of work... I'll make
> sure I take a look at this on friday or something.
--
Chris Croome <chris at webarchitects.co.uk>
web design http://www.webarchitects.co.uk/
web content management http://mkdoc.com/
More information about the Petal
mailing list