- From: Christian Hennecke <christian.hennecke@ruhr-uni-bochum.de>
- Date: Fri, 11 Apr 2003 17:12:51 +0200 (CEST)
- To: "html-tidy@w3.org" <html-tidy@w3.org>
Hello. It has been brought to my attention that there is a bug in the way the text inside pre tags is handled if there are other tags included. Only the first line after the opening pre tag is indented correctly, for all following ones inside the pre tags any leading spaces are removed and the code begins in the first column. E.g.: <p>The macros</p> <pre> <b><tt>NANSCF</tt></b> <b><tt>NANSC</tt></b> <b><tt>NANSCL</tt></b> <b><tt>NANSIF</tt></b> <b><tt>NANSI</tt></b> <b><tt>NANSIL</tt></b> </pre> becomes: <p>The macros</p> <pre> <b><tt>NANSCF</tt></b> <b><tt>NANSC</tt></b> <b><tt>NANSCL</tt></b> <b><tt>NANSIF</tt></b> <b><tt>NANSI</tt></b> <b><tt>NANSIL</tt></b> </pre> However, if I remove the superfluous bold and teletype tags, it works fine. Christian Hennecke
Received on Friday, 11 April 2003 11:18:25 UTC