Il giorno 06/set/07, alle ore 18:31, BBEdit-Talk List ha scritto:
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?
Have you tried HTML Tidy on your file? Depending on the current
condition of your file, it may do exactly what you want.
I have tried and ended up with double quotes inside tags. HTML Tidy
didn't straighten the smart quotes inside tags, but added straight ones
before and after instead.
I have the same issue and i don't even use BBEdit but ultra edit.
here's the process i do, if i can remember in time. copy the text
(mainly from Word, sometimes e-mail) into a new document. Do search and
replace on everything there - i usually have a lot, curly single quotes,
curly double quotes, em and en dashes, and ampersands (and i may be
forgetting something). while i'm at it, i'm add simple formatting like
paragraphs, then copy all of that into the html. that way, i'm
reassured that i haven't replaced something that i shouldn't have in the
code.
that may not help your current situation but thought i'd "throw it out"
for in case, or maybe for the future.
best
Donna
So, one possible solution might be: Choose Text>Educate Quotes, then
run HTML Tidy, and finally do a Search/Replace to get rid of the
couples of quotes. Isn't there a quicker way? Can this be considered as
a feature request? :-)
mario
--
Donna Jones
Portland, Maine
207 772 0266
www.westendwebs.com
--
------------------------------------------------------------------
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]>