- Timestamp:
- Jan 2, 2006 12:05:44 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Utilities.inc.php
r47 r48 111 111 function fancyTxt($txt) 112 112 { 113 return $txt; /// FIXME. 114 113 115 $search = array(); 114 116 $replace = array(); … … 122 124 $replace['apostrophe'] = '\\1’\\2'; 123 125 124 // "single quoted text"becomes ‘single quoted text’126 // 'single quoted text' becomes ‘single quoted text’ 125 127 $search['single_quotes'] = '/(^|[^\w=])(?:\'|'|‘)([^\']+?)(?:\'|'|’)([^\w]|$)/'; 126 128 $replace['single_quotes'] = '\\1‘\\2’\\3';
Note: See TracChangeset
for help on using the changeset viewer.