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

Can tidy fix this:

From: Steinar Kjærnsrød <steinar@manamind.com>
Date: Tue, 29 Jan 2002 14:59:15 +0100 (CET)
To: html-tidy@w3.org
Message-ID: <Pine.LNX.4.10.10201291448040.29078-100000@linus.oslo.infostream.no>
Sending the following lines of HTML code (damaged by Word of course!) thru
tidy ..

 <P><div class="something"></P>
 <P>Some text ...

.. gives this

  <div class="something">
      <br>
      <br>

      <p>
        Some text ...

I want to avoid the two br elements output by tidy. This is the config
file in use:

wrap: 80
indent:yes
indent-attributes:no
add-xml-pi: no
char-encoding:latin1
break-before-br: no
word-2000:yes
drop-empty-paras:yes
char-encoding:latin1


--
Steinar Kjærnsrød <steinar@manamind.com>  |  Manamind AS - www.manamind.com
http://priv.infostream.no/~steinar/       |  Marcus Thranesgt. 6
cell: +47-9288-7988                       |  N-0473, Oslo, Norway
Received on Tuesday, 29 January 2002 08:59:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:51 GMT