At 21:21 -0700 02/08/2011, Ken Lanxner wrote:

Hi. Prior to v. 10, I could select a list of lines separated by two or more line breaks and invoking Paragraph would wrap each line in paragraph tags.

The following short Perl text filter ought to do what you want:


#! /usr/bin/perl
chomp ($_ = join "", <>);
s~\n\n+~\n</p>\n<p>\n~g;
print "<p>\n$_\n</p>"

JD

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