Plugin Directory

Changeset 176896


Ignore:
Timestamp:
11/25/2009 10:09:39 AM (16 years ago)
Author:
enivid
Message:
 
Location:
post-typographer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • post-typographer/trunk/readme.txt

    r175609 r176896  
    33Requires at least: 2.5
    44Tested up to: 2.8.6
    5 Stable tag: 6
     5Stable tag: 7
    66
    77Adds non-breaking spaces, <nobr> tags, common spaces, tags and dashes where needed. Works with English texts only.
     
    3434* my
    35354. Double and more spaces are replaced with the single ones.
    36 5. All misplaced spaces near dots, commas, semicolons, colons, exclamation
     365. All misplaced spaces near dots, colons, exclamation
    3737marks and question marks are fixed, where possible.
    38386. Composed words with hyphens in them (e.g. "easy-to-use") will be wrapped in
     
    6060== Changelog ==
    6161
    62 = 5 =
     62= 7 =
     63* Fixed: No longer removes spaces before colons and semicolons - not to mess
     64with the smiles.
     65
     66= 6 =
    6367* Fixed: Double (and more) warpping with the <nobr> tags.
    6468* Fixed: <nobr> wrapping and some other formatting in the [code] and [video]
  • post-typographer/trunk/typopost.php

    r175609 r176896  
    55Description: Formats the text according to typography rules. Works with English texts only.
    66Author: Andriy Moraru
    7 Version: 6
     7Version: 7
    88Author URI: http://www.topforexnews.com
    99*/
     
    5353        {
    5454            //Remove space before the punctuation marks that are placed directly after the words
    55             $without_square[$j] = preg_replace('@ (\.|,|;|:|!|\?)@', "\$1", $without_square[$j]);
     55            $without_square[$j] = preg_replace('@ (\.|,|!|\?)@', "\$1", $without_square[$j]);
    5656            //Add space after the punctuation marks where needed
    5757            $without_square[$j] = preg_replace('@(,|!|\?)([a-z]+)@i', "\$1 \$2", $without_square[$j]);
Note: See TracChangeset for help on using the changeset viewer.