At 09:37 -0700 on 08/24/2011, Tudor wrote about Re: Edit both start and closing HTML tags at once?:

On 24 aug., 07:29, "Robert A. Rosenberg" <rar...@banet.net> wrote:
 Even worse is with HTML (as opposed to XHTML) where the closing tag
 is optional (ie: </P> tags are optional so unless you always use
 them, they are not always there to find since the next <P> implicitly
 closed the prior one).

Maybe. But somehow this works pretty good in Dreamweaver, so it
definitely can be done.


Not necessarily. You have to remember that Dreamweaver is code so it can treat finding a <p> before it finds a </p> as if the </p> was there. We are talking about script where it is looking for the </p> tag and not finding it. Even if you could look for the first </p> OR <p> tag you would need different processing logic depending on which you found (ie: For the <p> case act as if it were proceeded by a </p>). This is easy to do with code but harder/impossible to do with other methods.

--
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.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to