Quote:
Originally Posted by JSWolf
But can it tell when the quotes need to be straight for the HTML code?
|
How does a Word Processor with "autocorrect quotes to smart quotes" know which smart quote to insert as you type? It uses context. Is it after a space or at end of a word? What other punctuation is around? I started earlier in the thread what I think rules are, roughly. I don't know how closely this script would be to the rules I stated, and would definitely welcome additions and corrections to the list...
Of course, that does mean that it will occasionally make a mistake, and ought to be checked over.
EDIT: Gaa... realized you were asking a different question, but the poster below has answered it.