Softpedia
 


SCRIPTS CATEGORIES:



NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Koken 0.8.2
  • ContentBox 1.5.2
  • jQPlayer 0.5.2
  • SPOILER ALERT! 0.0.2
  • jQuery Mask Plugin 0.9.0
  • Easing Slider 2.1.2
  • Btapp.js 0.2.0
  • WiiFlash 0.4.5
  • Breeze.js 1.3.3
  • TinyMCE Templates 3.0.2
  • Home > Scripts > Text Management > Text Tools

    PHP SmartyPants 1.5.1f / 1.0.1

    download button


    Downloads: 139  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    Website:

    License / Price:

    Platforms:

    Databases:

    Language:

    Last Updated:

    Category:
    Michel Fortin | More scripts
    michelf.com
    BSD License 

    Windows / Linux / Mac OS / BSD / Solaris
    N/A
    PHP
    January 26th, 2013, 18:05 GMT
    C: \ Text Management \ Text Tools

     Read user reviews (0)  Refer to a friend  Subscribe

    PHP SmartyPants description

    A port to PHP of SmartyPants, the ASCII to HTML converter by John Gruber

    SmartyPants is a free web publishing plug-in for Movable Type, Blosxom, and BBEdit that easily translates plain ASCII punctuation characters into “smart” typographic punctuation HTML entities.

    The library converts ASCII to HTML using PHP code instead of Perl.

    SmartyPants does not modify characters within <pre>, <code>, <kbd>, or <script> tag blocks.

    The library comes in an enhanced form, known as PHP SmartyPants Typographer.

    This special version of PHP SmartyPants implements some features currently not available with the plain SmartyPants tools.

    Typographer adds support for different quotation marks as well as for converting normal spaces to unbreakable spaces and thus preventing inappropriate line breaks.

    Here are some key features of "PHP SmartyPants":

    · Straight quotes ( " and ' ) into “curly” quote HTML entities
    · Backticks-style quotes (``like this'') into “curly” quote HTML entities
    · Dashes (“--” and “---” into en- and em-dash entities
    · Three consecutive dots (“...” into an ellipsis entity

    Requirements:

    · PHP 4.0.5 or higher



    TAGS:

    convert character | ASCII to HTML | typography tool | convert | ASCII | HTML

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM