Changeset 522
- Timestamp:
- 2007-07-24 17:25:46 (18 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
MediaWiki/trunk/extensions/FCKeditor/FCKeditor.body.php
r521 r522 417 417 } 418 418 function replaceVariables( $text, $args = array(), $argsOnly = false ) { 419 return preg_replace("/\{\{([^}]+)\}\}(\} +)/", '<span class="fck_template">{{$1}}$2</span>', $text);419 return preg_replace("/\{\{([^}]+)\}\}(\}*)/", '<span class="fck_template">{{$1}}$2</span>', $text); 420 420 } 421 421 }