You are here: tidy not quoting attributes « HTML « IT news, forums, messages
tidy not quoting attributes

Posted by lbrtchx on 01/30/08 15:07

Hi,
~
I just need to clean up some html from pages I get off the Net and
ten run it through a SAX parser. I don't really care about validation
or converting formatting to CSS or any of that
~
The thing is that tidy is not quoting attributes when needed
~
Say you have a crappy HTML statement on a page looking like:
~
<table cellpadding=0 border=0 cellspacing=0>
~
Tidy, I think, should edit it to:
~
<table cellpadding="0" border="0" cellspacing="0">
~
What are the flags you feed to tidy or the settings for jtidy so that
all attributes are surrounded by quotes?
~
Thanks
lbrtchx

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация