tidy not quoting attributes
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?
|All times are GMT. The time now is 09:55 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.