Re: about "noindent" (http://tidy.sf.net/bug/1086083)

Charlie <[email protected]>
Newsgroups gmane.comp.web.html-tidy.devel
Message-ID <[email protected]>
Hi Arnaud,

That behavior goes back to Dave's Original.  I believe adding the class to 
the generated stylesheet was the intent.  It is used to denote the case 
when Tidy encounters an <li> element without the enclosing <ul> or 
<ol>.  In this case, IE has always had a distinct, unindented 
rendering.  Thus the class name.

But, as Sebastien Boisvert has recently noted, Tidy does not always exactly 
preserve visual rendering.  Something I don't really have a problem with 
personally.  But, if you do want to preserve the visual rendering, add the 
class.

take it easy,
Charlie

At 04:09 PM 3/15/2005 +0000, Arnaud Desitter wrote:
>Hi,
>
>Re. http://tidy.sf.net/bug/1086083
>tidy generates sometimes code such as <ul class="noindent">
>when finding orphan <li> elements. What shall we do ?
>
>#1 remove the class="noindent" as suggested by the bug reporter.
>This is not unreasonable. See post for a rationale.
>#2 define noindent as "{ margin-left: -1em }" (FindStyle() in clean.c
>comes handy).
>
>I do not have an opinion. Any idea ?
>
>Regards,



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
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.