W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2002

Break tags in paragraphs.

From: Lee Passey <lee@dysfunctionals.org>
Date: Thu, 10 Oct 2002 12:12:45 -0600
Message-ID: <3DA5C31D.40303@dysfunctionals.org>
To: "tidy-develop@lists.sourceforge.net" <tidy-develop@lists.sourceforge.net>, Tidy Main List <html-tidy@w3.org>

A popular OCR program is ABBYY FineReader, which can save its output as 
HTML.  Unfortunately, it has the bad habit of adding a <br /> tag to the 
end of every paragraph, e.g.:

<p>This is an OCR'd paragraph.<br /></p>

This additional <br /> tag doesn't seem to have any effect on the 
presentation in any of the User Agents I have tested it with.

May I modify the Tidy core code to drop the <br /> tag when it appears 
at the end of a paragraph?
Received on Thursday, 10 October 2002 14:18:19 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:48 UTC