From: SourceForge.net <no...@so...> - 2004-01-10 21:08:33
|
Bugs item #663197, was opened at 2003-01-06 17:48 Message generated for change (Comment added) made by fgiust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=663197&group_id=13153 >Category: Tidy functionality Group: None >Status: Closed >Resolution: Works For Me Priority: 5 Submitted By: Douglass Parker (douglassparker) >Assigned to: fabrizio giustina (fgiust) Summary: nbsp handling is wrong Initial Comment: Using Jtidy to convert html to xhtml, when Tidy encounters an 0xA0 character, it should insert in the result. However, it inserts  instead. For tidy properties, defaults used except for the following: alt-text=" " add-xml-decl=true clean=true drop-font-tags=true output-xhtml=true tab-size=1 tidy-mark=false wrap=0 Tidy returned this: <?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <div marginwidth="0" id="Layer1" topmargin="0" marginheight="0" leftmargin="0" style="position:absolute; left:255px; top:-3px; width:144px; height:54; z-index:1"><img alt="" "" border="0" width="144" height="54" src="http://www.arbitron.com/home/images/spacer.gif" /></div> <table border="0" cellpadding="0" width="397" cellspacing="0"> <tr> <td width="50%" align="left" valign="bottom">News You Can Use</td> <td width="50%" align="right" valign="top"><img alt="" "" width="136" height="50" src="http://www.arbitron.com/home/images/do_not_copy.gif" /></td> </tr> </table> <table border="0" cellpadding="0" cellspacing="0"> <tr align="left" valign="top"> <td colspan="1" width="186" valign="top"> <p><br /> <a href="http://www.arbitron.com/newsroom/archive/article1.htm" class="bold"><img alt="" "" border="0" width="70" align="left" height="68" src="http://www.arbitron.com/home/images/internet.gif" />Internet-Only Stations MUSICMATCH and RADIOIO Top Arbitron's Measurecast Ratings 01.02.03</a><br /> </p> <p><a href="http://www.arbitron.com/newsroom/archive/article3.htm" class="bold"><img alt="" "" border="0" width="70" align="left" height="68" src="http://www.arbitron.com/home/images/ppm_hand.gif" />Arbitron To Extend Portable People Meter Ratings Trial Through Winter 2003 Survey</a><br /> Extension does not delay scheduled response rate research or planned panel deployment in 2003. 12.05.02</p> </td> <td width="15"> </td> <td colspan="1" width="186"> <p><br /> <a href="http://www.arbitron.com/newsroom/archive/article2.htm" class="bold">Winter 2003 Data Delivery ScheduleÂ-Now Available</a><br /> Includes Advance Ratings, Arbitrends, Maximi$er, MediaPro, and the Radio Market Report .12.16.02</p> <p><a href="http://www.arbitron.com/newsroom/archive/article4.htm" class="bold"><img alt="" "" border="0" width="70" align="left" height="68" src="http://www.arbitron.com/home/images/radar.gif" />Arbitron Releases December 2002 RADAR 75 Radio Network Ratings</a><br /> 33 Radar-rated Networks Reach 75 Percent of U.S. Consumers During a Typical Week 12.16.02</p> </td> </tr> </table> <br />  <br /> <br />  <br />  Arbitron is hiring! <a href="http://www.arbitron.com/jobs/home.htm" class="link">View current career opportunities</a>.  <br />  <br />  <br /> <table border="0" cellpadding="0" width="387" cellspacing="0"> <tr align="left" valign="bottom"> <td> <div style="text-align: left"> <a href="http://www.arbitron.com/who2call/home.htm" class="small"><br /> Contact</a>  |  <a href="mailto:lud...@ar..." class="small">Feedback</a>  |  <a href="http://www.arbitron.com/home/Privacystmt.htm" class="small">Arbitron Web Privacy Statement</a><br /> <a href="http://www.arbitron.com/home/privacystmt_webcast.htm" class="small">Arbitron Webcast Services Privacy Statement</a></div> </td> </tr> <tr align="left" valign="bottom"> <td> <p> <br /> ©Arbitron Inc.   Fortune® 100 Best Companies to Work For 2002 logo used with permission from Time Inc.</p> </td> </tr> </table> <p> </p> <p> </p> </body> </html> Noote the many occurences of  Also note tthat Tidy incorrectly replaces — with Â. The source html is attached and can also be viewed at www.arbitron.com. ---------------------------------------------------------------------- >Comment By: fabrizio giustina (fgiust) Date: 2004-01-10 22:08 Message: Logged In: YES user_id=798060 tested with a minimum test file containing 0xA0 chars and it works. There is no file attached here and the on line page has been updated. Marking as "works for me". Please upload a test file if you want to report this problem again. Added test case. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=663197&group_id=13153 |