On Mon, Mar 22, 2010 at 10:00 AM, RobS <[email protected]> wrote:

> <p>First line<br />
> another line<br />
> another line<br />
> another line<br />
> last line.</p>
>
> That's what I always start with. Then I add some spans manually...
>
> <p>First line<br />
> another line<br />
> <span class="ind2">another line<br />
> another line<br />
> <span class="ind2">last line.</p>
>
> ...and I need to close the spans.
>
> That's simpler and more limited in scope (always a good thing) than
> the close tags script I used to use -- though it had its charms. ;-)

Where are the spans supposed to close? A computer can't guess. :-) If
it's, say, always before the next <br />, it should be pretty easy to
write a script that looks for an open span tag, then follows it to the
next line break, and inserts a close tag before it.

--Kerri

-- 
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.

To unsubscribe from this group, send email to 
bbedit+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to