W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2010

Re: HTML Beautify Feature

From: Juan Lanus <juan.lanus@gmail.com>
Date: Fri, 5 Feb 2010 14:14:46 -0300
Message-ID: <ae65f3f21002050914l1b5dcacaw11c8d19823eb0142@mail.gmail.com>
To: Bill Braun <bbraun@hlthsys.com>
Cc: www-amaya@w3.org
On Fri, Feb 5, 2010 at 13:28, Bill Braun <bbraun@hlthsys.com> wrote:

>
>
> Juan Lanus wrote:
>
> Hi Bill,
> Hmmm ... now I'm not sure ... didn't check it.
> Yes, it does something. No, there is not a preference besides the source
> code line length, that I enlarge to environ 120 chars.
> Check it if you want to:
>
>    1. open a file in Amaya
>    2. open the source view
>    3. do some contro + - to reduce the font size and see more text at once
>    4. modify the source by adding a few spaces, breaking lines, whatever
>    5. click in the source view, where you introduced the changes
>    6. control + s to save the file
>    7. now click in the source view and notice how it changes
>
> The lines are indented, broken lines are joined, blank space is normalized,
> copy text appears in black and markup in blue, etc.
> In happens in my Amaya 11.3.1 under Windows XP.
> Saludos!
> --
> Juan Lanus
>
>  Hello Juan,
>
> If I start here:
>
> <a class="ppage" href="orgperfdev/index.html">Organizational Performance
> and Development</a></h2>
>
> and create this with a hard return
>
> <a class="ppage"
> href="orgperfdev/index.html">Organizational Performance and
> Development</a></h2>
>
> then save, close then open Source View, it does repair it back to:
>
> <a class="ppage" href="orgperfdev/index.html">Organizational Performance
> and Development</a></h2>
>
> However, almost all of the markup code in the whole document is flush left,
> even if I had beautified it manually beforehand.
>
> Bill B
>
>  Yes, there is the blank space issue here ...
Amaya con not insert blank space neither inside the <a> nor the <h2> without
changing the rendering.
To put pretty print to a test create a table or a list and check it.
--
Juan
Received on Friday, 5 February 2010 17:15:40 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:42 UTC