Re: Placement of comments
Bill Braun <[email protected]>
| Newsgroups | gmane.comp.web.amaya.general |
|---|---|
| Message-ID | <[email protected]> |
Bill Braun wrote:
>
> 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
I should have added that occasionally Amaya moves other code also,
though considerably less than the frequency with which it moves comments.
As written and saved:
<div class="someclass">
<p class="anotherclass">blah, blah, blah</p>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
</ul>
</div><!-- close class someclass -->
Amaya changes this to:
<div class="someclass">
<p class="anotherclass">blah, blah, blah</p>
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
</ul>
</div>
<!-- close class someclass -->
Anecdotally, I think this may have something to do with the way Amaya
treats line feeds (LF) and carriage returns (CR).
Bill B