Changeset 48


Ignore:
Timestamp:
Jan 2, 2006 12:05:44 AM (18 years ago)
Author:
scdev
Message:

${1}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Utilities.inc.php

    r47 r48  
    111111function fancyTxt($txt)
    112112{
     113    return $txt; /// FIXME.
     114   
    113115    $search = array();
    114116    $replace = array();
     
    122124    $replace['apostrophe']      = '\\1’\\2';
    123125
    124     // "single quoted text"  becomes  ‘single quoted text’
     126    // 'single quoted text'  becomes  ‘single quoted text’
    125127    $search['single_quotes']    = '/(^|[^\w=])(?:\'|'|‘)([^\']+?)(?:\'|'|’)([^\w]|$)/';
    126128    $replace['single_quotes']   = '\\1‘\\2’\\3';
Note: See TracChangeset for help on using the changeset viewer.