W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2001

line breaking bug in tidy

From: Volker Kuhlmann <kuhlmav@elec.canterbury.ac.nz>
Date: Wed, 24 Jan 2001 21:30:49 -0500 (EST)
To: html-tidy@w3.org
Message-ID: <20010125152952.C4667@elec.canterbury.ac.nz>
[Resending this to the correct place...]
[I'm not subscribed to this list]

I just thought I settle for tidy as pretty-printer for my html pages
produced by quanta+, but found this bug which alters the page layout.

The problem is white space inserted by tidy:

    details and the <A href="">

Originally, this would have been as

    details and the 
    <A href="">resources</A>.</P>

This is quite common, esp for long URLs. It looks really bad to have
the link text underlined too far to the left (shows in netscape and
konqueror). If necessary, the specified max line length would have to
be exceeded.

Here is the config I used:

markup: yes
wrap: 80
tab-size: 8
indent: auto
indent-spaces: 2
input-xml: no
output-xml: no
output-xhtml: no
char-encoding: latin1
uppercase-tags: yes
uppercase-attributes: no
write-back: no
keep-time: no
show-warnings: yes
tidy-mark: no

Version Apr 2000

Another minor thing: tidy replaces the <p> in 

<P><HR size="3" noshade width="100%"></P>

with a <br>. I don't like that. Can I prevent that somehow?

A suggestion: start indentation at a higher level, inserting 2 spaces
between <body>..</body> is a waste of line space - I always know where
the body tags are.


Volker Kuhlmann <v.kuhlmann@elec.canterbury.ac.nz>
Received on Monday, 29 January 2001 16:45:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:49 UTC