Smart punctuation converter.
Something looks broken? We accept bounties to fix them faster.
This extension converts some plain ASCII punctuation characters into “smart” punctuation HTML entities:
- Convert straight quotes (
") into ‘curly’ quote HTML entities.
- Convert dashes (
---) into ‘en-dash’ and ‘em-dash’ HTML entities.
- Convert three consecutive dots (
...) into an ‘ellipsis’ HTML entities.
xbetween numbers into a ‘times’ HTML entities.
This extension will not modify characters within
<textarea> elements because these elements are commonly used to display text where smart quotes and other “smart punctuation” would not be appropriate, such as in source code or example markup.
He said, "Some text with \'escaped quotes\'... Hey, what's your name?"
He said, “Some text with 'escaped quotes'… Hey, what’s your name?”