Here's what BBEdit support said:

Changing from XML to HTML in the prefs did the trick !

Begin forwarded message:

> From: "Bare Bones Software Technical Support" <supp...@barebones.com>
> Date: May 6, 2010 5:40:36 PM EDT
> To: "Matt Martini" <matt.mart...@gmail.com>
> Subject: Re: (Case 180672) Bug Report: v9.5 (2740) - HTML Formatting Utility 
> Broken
> 
> you wrote:
> [...]
>> 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.
>> 
> 
> Hi Matt,
> 
> Thanks for the report and the sample documents; after some testing, I've 
> figured out what's happening.
> Since this document doesn't contain a DOCTYPE, BBEdit will fall back on its 
> default behavior rules when processing it.
> In turn, these rules are determined by how the option "When generating markup 
> in unspecified documents, use..." (in the HTML Markup prefs panel) is set.
> If this option is set to "XML", BBEdit will follow strict behavior and thus 
> the Format command will produce the output displayed in your "9.5" sample 
> file.
> If this option is set to "HTML", then BBEdit will assume "HTML 4.0.1 
> Transitional" and format the output accordingly, in this case producing your 
> desired result, e.g. the "8.7.2" sample.
> Please note that (due to a bug which we'll fix in future) changes to this 
> option do not take effect immediately--you must instead exit and restart the 
> app, either by quitting and relaunching, or using "Sleep BBEdit" and 
> relaunching (less disruptive).
> 
> I hope this helps, but if you have any further questions, or if we can 
> otherwise be of assistance, please let us know.
> 
> 
> Regards,
> 
> Patrick Woolsey
> ==
> Bare Bones Software, Inc.                        <http://www.barebones.com>
> P.O. Box 1048, Bedford, MA 01730-1048            
> 
> 
> 

-- 
You received this message because you are subscribed to the 
"BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to bbedit@googlegroups.com
To unsubscribe from this group, send email to
bbedit+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/bbedit?hl=en
If you have a feature request or would like to report a problem, 
please email "supp...@barebones.com" rather than posting to the group.

Reply via email to