Thanks for the clarification Jim. It's good to know that BBEdit sticks to the standard on this kind of thing and encourages good practices.
I use BBEdit to deal with other people's code on a regular basis, and there's a significant number of real world script blocks that don't conform to the HTML 4.01 Specification. I would find it useful if there was a feature in BBEdit that was able to display the syntax highlighting of these incorrectly coded pages as the uneducated and/or rushed authors intended (pages that still work, and might even be valid HTML 5) ). I believe that other people would find this useful as well. Please consider this message a feature request to that effect. In case it's not obvious, this is a request and not a demand. Thanks again. -- Alan Storm http://alanstorm.com On Jan 22, 10:51 am, Jim Correia <[email protected]> wrote: > On Jan 22, 2010, at 1:22 PM, Alan Storm wrote: > > > The follow screenshot is a simplified version of a PHP view file I was > > recently working on with "HTML" selected as the language (actual text > > included at the end of this email) > > >http://alanstorm.com/testbed/as_html.png > > > On line 17 the syntax highlighting goes pear shaped. (note the > > different color <p> tags) > > BBEdit’s syntax coloring engine always use the HTML rule for ending non-HTML > data sections. > > See <http://www.w3.org/TR/REC-html40/appendix/notes.html#h-B.3.2> for details. > > Instead, write the line as: > > jQuery('#row_detail_'+numeric_id+' td').html('<p>Loading<\/p>’); > > - Jim -- 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 "[email protected]" rather than posting to the group.
