PHP SmartyPants =============== Version 1.5.1e - Fri 9 Dec 2005 by Michel Fortin based on work by John Gruber Introduction ------------ PHP SmartyPants is a port to PHP of the original SmartyPants written in Perl by John Gruber. PHP SmartyPants is a free web publishing plug-in for WordPress and Smarty template engine that easily translates plain ASCII punctuation characters into "smart" typographic punctuation HTML entities. SmartyPants can also be invoked as a standalone PHP function. SmartyPants can perform the following transformations: * Straight quotes (`"` and `'`) into "curly" quote HTML entities * Backtick-style quotes (` ``like this'' `) into "curly" quote HTML entities * Dashes (`--` and `---`) into en- and em-dash entities * Three consecutive dots (`...`) into an ellipsis entity This means you can write, edit, and save using plain old ASCII straight quotes, plain dashes, and plain dots, but your published posts (and final HTML output) will appear with smart quotes, em-dashes, and proper ellipses. SmartyPants does not modify characters within `
`, ``,
``, or `