Re: html-tidy bug report

Bjoern Hoehrmann <[email protected]>
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
* Mukesh Choudhary wrote:
>(Bug) Multiples white space within tag is replaced with single white space.
>ie.  <p>This is            paragraph text</p>   is converted to <p>This is paragraph text</p>
>
>I have tried different version with settings like output-xhtml:1 , output-xml:1
>
>I want to retain multiple white space. Is it a bug in HTML-Tidy or there is some different settings to retain spaces.

This is by design and there is no option to turn it off. If you want to
have the white space preserved, you should use e.g. the <pre> element.
-- 
Björn Höhrmann · mailto:[email protected] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.