From: SourceForge.net <no...@so...> - 2004-01-10 20:13:55
|
Bugs item #848292, was opened at 2003-11-24 15:03 Message generated for change (Comment added) made by fgiust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=848292&group_id=13153 Category: Tidy functionality Group: None >Status: Closed >Resolution: Wont Fix Priority: 5 Submitted By: Nima Mazloumi (nimchen) >Assigned to: fabrizio giustina (fgiust) Summary: P tag replaced with 2 br tags Initial Comment: Hi, in the case where a table is inclosed within a p tag jdity deletes the p tag and inserts 2 br tags after the table block. Is this a bug? Is there a way to prevent this? We use our p tag with a css class. Therefore after using jtidy for pretty printing the design is messed up. Greetings, Nima ---------------------------------------------------------------------- >Comment By: fabrizio giustina (fgiust) Date: 2004-01-10 21:13 Message: Logged In: YES user_id=798060 this is the correct behaviour: tidy does that while fixing the document since <table> can't be nested in a <p> element in a valid html document. So tidy removes the first, invalid, <p> and translates the empty </p> after the table to 2 <br>. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=848292&group_id=13153 |