Try SmartyPants. It's a plugin (run as a perl/Unix filter) that can
do exactly what you're asking for.
SmartyPants is a free web publishing plug-in for Movable Type,
Blosxom, and BBEdit that easily translates plain ASCII punctuation
characters into “smart” typographic punctuation HTML entities.
SmartyPants can perform the following transformations:
Straight quotes ( " and ' ) into “curly” quote HTML entities
Backticks-style quotes (``like this'') into “curly” quote HTML entities
Dashes (“--” and “---”) into en- and em-dash entities
Three consecutive dots (“...”) into an ellipsis entity
http://daringfireball.net/projects/smartypants/
There's also a php port:
http://monauraljerk.org/smartypants-php/
On Sep 4, 2007, at 10:05 AM, Mario Rizzi wrote:
Hello.
I have a long text with a lot of Html tags. I would like to change
all the quotes to smart quotes, but if I use the Text>Educate
Quotes command, BBEdit will educate all the quotes, even those
which are inside tags. Is there a way of getting BBEdit to skip the
quotes in tags?
Thank you.
mario
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
--
Peter Weil, Web Developer
University Communications
University of Wisconsin-Madison
Phone: 608-262-6538
Email: [EMAIL PROTECTED]
--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to: <[EMAIL PROTECTED]>