May 05
Matt Martini Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 05, 2010; 19:23
Matt Martini
Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
Support, It seems that the utility function to format HTML is no longer working properly. When this simple html document (cleaned up from a much longer original) is process by Utility->Format->Gentle Hierarchical (or Hierarchical or Document Skeleton) the closing tags are not un-indented to line up with with the opening tags, resulting in a forever increasing indentation. See the table in the example document. Using and old version of BBEdit 8.27.2 gives the correct result, see below. I have also attached the original documents in case email munges the formatting. Thanks Matt PS I am also posting to the BBEdit Group to see if anyone else has seen this behavior. Starting with everything flush left and running the filter we get: (Using BBEdit 9.5): <!-- Generated HTML --> <html> <head> <title> </title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <img src="http://www.example.com/images/dance.gif" align="right"> <h1> </h1> <table cellpadding="7" width="100%"> <tr bgcolor="E5E5C5"> <th width="1%"> <th width="1%"> </th> <th> </th> <th width="5%"> </th> <th width="5%"> </th> <th width="5%"> </th> </tr> <tr bgcolor="F5F595"> <td> <td align="center" valign="top"> <img src="http://www.example.com/ChannelLogo/logo-.png" alt="ABC"> </td> <td align="left" valign="top"> <b> </b> <br> </td> <td align="center" valign="top" nowrap> <br> </td> <td align="center" valign="top" nowrap> <br> </td> <td align="center" valign="top" nowrap> <a href="http://www.example.com/download/def.txt"> </a> </td> </tr> </table> <a href="index.html"> </a> <p> <font size="-2"> </font> </body> </html> With BBEdit 8.7.2 repeating the steps we get (what I think is correct): <!-- Generated HTML --> <HTML> <HEAD> <TITLE>The page title</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> </HEAD> <BODY> <IMG SRC="http://www.example.com/images/dance.gif" ALIGN="right"> <H1> </H1> <TABLE CELLPADDING="7" WIDTH="100%"> <TR BGCOLOR="E5E5C5"> <TH WIDTH="1%"> <TH WIDTH="1%"> </TH> <TH> </TH> <TH WIDTH="5%"> </TH> <TH WIDTH="5%"> </TH> <TH WIDTH="5%"> </TH> </TR> <TR BGCOLOR="F5F595"> <TD> <TD ALIGN="center" VALIGN="top"> <IMG SRC="http://www.example.com/ChannelLogo/logo-.png" ALT="ABC"> </TD> <TD ALIGN="left" VALIGN="top"> <B> </B> <BR> </TD> <TD ALIGN="center" VALIGN="top" NOWRAP> <BR> </TD> <TD ALIGN="center" VALIGN="top" NOWRAP> <BR> </TD> <TD ALIGN="center" VALIGN="top" NOWRAP> <A HREF="http://www.example.com/download/def.txt"> </A> </TD> </TR> </TABLE> <A HREF="index.html"> </A> <P> <FONT SIZE="-2"> </FONT> </BODY> </HTML>
May 05
Roland Küffner Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 05, 2010; 23:21
Roland Küffner
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
May 05
Alex Satrapa Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 05, 2010; 23:38
Alex Satrapa
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
May 06
G. T. Stresen-Reuter Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 06, 2010; 00:08
G. T. Stresen-Reuter
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
May 06
Alex Satrapa Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 06, 2010; 00:13
Alex Satrapa
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
May 06
Matt Martini Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 06, 2010; 07:39
Matt Martini
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
May 06
Brian Frick Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 06, 2010; 07:46
Brian Frick
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
May 06
Matt Martini Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 06, 2010; 07:58
Matt Martini
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
May 06
Steve Kalkwarf Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 06, 2010; 08:02
Steve Kalkwarf
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
May 06
Matt Martini Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 06, 2010; 08:49
Matt Martini
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
May 06
Robert A. Rosenberg Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 06, 2010; 13:06
Robert A. Rosenberg
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
May 09
Bill Christensen Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 09, 2010; 17:47
Bill Christensen
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
May 09
Alex Satrapa Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 09, 2010; 18:16
Alex Satrapa
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print
May 18
rowen Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
May 18, 2010; 14:09
rowen
Re: Bug Report: v9.5 (2740) - HTML Formatting Utility Broken
Print