Changeset 3494:746731f03ebe for inc/public/lib.tpl.context.php
- Timestamp:
- 01/03/17 14:55:15 (9 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inc/public/lib.tpl.context.php
r3462 r3494 375 375 if (preg_match('|^([^\t]*)[\t]+(.*)$|',$v,$matches)) 376 376 { 377 $r = '/(\ A|[\s]+|>)('.preg_quote($matches[1],'/').')([\s]+|[<]|\Z)/ms';377 $r = '/(\G|[\s]+|>)('.preg_quote($matches[1],'/').')([\s]+|[<]|\Z)/ms'; 378 378 $s = '$1<img src="'.$url.$matches[2].'" '. 379 379 'alt="$2" class="smiley" />$3';
Note: See TracChangeset
for help on using the changeset viewer.