PHP SmartyPants 1.5.1f / 1.0.1 / 1.6.0-beta1

A PHP version of John Gruber's SmartyPants Perl library, a tool that converts various ASCII punctuation characters into HTML code
The original SmartyPants library was created as a plugin for Movable Type, Blosxom, and BBEdit, automatically converting various combinations of ASCII characters into HTML formatting tags.

As the original, this PHP port works the same, converting stuff like:
"text", 'text', and ``text'' into “text”
"--" or "---" into "—"
". . ." into "…"

As you can see, all of these modifications do not change the meaning or the purpose of the characters, but merely properly format the text by interchanging characters that allude to a punctuation point with the proper punctuation mark.

The library is compatible with standalone PHP applications, WordPress installations, and the Smarty template engine.

last updated on:
May 10th, 2014, 11:30 GMT
developed by:
Michel Fortin
license type:
BSD License
operating system(s):
Windows / Linux / Mac OS / BSD / Solaris
C: \ Text Management \ Text Tools


In a hurry? Add it to your Download Basket!

user rating 1



Rate it!

Add your review!