Smart punctuation converter.

0 stars out of 5

0 0 0 0 0
  • Author Taufik Nurrohman
  • Maintainer 1
  • Member
  • Version 2.3.0
Table of Contents
  1. Before
  2. After

This extension converts some simple ASCII punctuation sequences into “smart” punctuation HTML entities:

  • Converts straight quotes (' and ") into ‘curly’ quote HTML entities.
  • Converts dashes (-- and ---) into ‘en-dash’ and ‘em-dash’ HTML entities.
  • Converts three consecutive dots (...) into an ‘ellipsis’ HTML entities.
  • Converts x between numbers into a ‘times’ HTML entities.

This extension will not modify characters within <pre>, <code>, <kbd>, <script>, <style> and <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 sample 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?”


No comments yet.