- From: Bill Braun <bbraun@hlthsys.com>
- Date: Mon, 18 Jan 2010 10:19:26 -0500
- To: www-amaya@w3.org
Martin J. Dürst wrote: > When I write a comment in HTML by hand, I usually place it before some > construct, similar to how I would do it in a programming language. > > Example: > > <h1>document title</h1> > <p>bla bla bla</p> > > <!-- very big table --> > <table> > .... > </table> > > > Amaya keeps comments, but it insists on moving them from immediately > before the next construct to immediately after the previous construct. > The above example turns into: > > <h1>document title</h1> > <p>bla bla bla</p> > <!-- very big table --> > > <table> > .... > </table> > > This looks rather inappropriate when looking at the source again. If > there's some frequent use of comments after (rather than before) a > construct, I'd like to know. Otherwise, it'd be really nice if this > were fixed, thanks! > > Regards, Martin. > Another common occurrence for me is the following: As written: <div class="someclass"> <p>blah, blah, blah</p> </div><!-- close class someclass --> Which Amaya changes to: <div class="someclass"> <p>blah, blah, blah</p> </div> <!-- close class someclass --> This is small potatoes on one hand. On the other, it suggests that Amaya is moving markup code around, which may be a larger issue. Regards, Bill B
Received on Monday, 18 January 2010 15:19:06 UTC