Re: about "noindent" (http://tidy.sf.net/bug/1086083)
"Arnaud Desitter" <[email protected]>
| Newsgroups | gmane.comp.web.html-tidy.devel |
|---|---|
| Message-ID | <[email protected]> |
----- Original Message ----- From: "Charlie" <[email protected]> To: "Arnaud Desitter" <[email protected]> Cc: <[email protected]> Sent: Wednesday, March 16, 2005 2:27 PM Subject: Re: [Tidy-dev] about "noindent" (http://tidy.sf.net/bug/1086083) > 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. I just want to close http://tidy.sf.net/bug/1086083. So far, it looks that people would rather than that feature goes. Regards, > > 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