问题
When I do shift key + single/double quote key on my mac using Sublime Text 2 I don't get parseable double quotes.
Here's a picture demonstrating the effect on the id=""
's of some HTML:
Does anyone know how to correct this? The correct double-quotes were generated by a different text editor.
回答1:
I answered my own question. I had installed Sublime's Zencoding plugin which when I removed it, the double-quotes were normal again.
Update: Oddly, this double-quote issue still exists in my PHP files, but not my JS files. I'm not sure how to solve this yet but will update this answer when I do.
UPDATE #2 I finally solved the PHP file double-quote issue. Please see my answer on this SO thread.
I had a a key binding set to use these "typographical" quotes in my SublimeText2 preferences->key bindings->user
来源:https://stackoverflow.com/questions/12521058/sublime-text-2-macosx-double-quote-issue