Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: How to use tidy to "beautify" xhtml ? [Thread Next] Re: How to use tidy to "beautify" xhtml ?To: NULL Date: 6/2/2004 12:06:00 AM Chris Green wrote: > Andrzej Adam Filip <anfi@p...> writes: > > >>It seems that "wrapped" xhtml produced by standards settings is not >>"liked" by some search engines . >> >>e.g. tidy inserted line breaks in attributes after opening " >> >>....<a href=" >> http://example.com/"> ... > > I have a ~/tidy.conf with the contents: > > wrap: 0 > > and run tidy with: > > tidy -i -m -config ~/tidy.conf file.xhtml. I don't like the wrapping > just because it makes nesting difficult. I want to get wrapping :-( I use wider than default "wrap space" (--wrap 120). It seems that "--indent-attributes yes" fixed the problem. > My biggest problem with tidy is that I use www.clearsilver.net for a > templating system and it doesn't support that kind of tag markup <?cs > .... ?> -- Andrzej [en:Andrew] Adam Filip anfi@p... anfi@x... http://anfi.homeunix.net/ http://slashdot.org/~anfi *Random Epigram* : "Infidels in all ages have battled for the rights of man, and have at all times been the fearless advocates of liberty and justice." -- Robert Green Ingersoll | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
