Ticket #2137: 2137.patch
File 2137.patch, 1.2 KB (added by , 15 years ago) |
---|
-
FCKeditorParser.body.php
332 332 'end'=>'}', 333 333 'cb' => array( 334 334 2=>array('FCKeditorParser', 'fck_leaveTemplatesAlone'), 335 3=>array('FCKeditorParser', 'fck_ leaveTemplatesAlone'),335 3=>array('FCKeditorParser', 'fck_skipArgs'), 336 336 ), 337 337 'min' =>2, 338 338 'max' =>3, -
mw12/FCKeditorParser_OldPP.body.php
332 332 'end'=>'}', 333 333 'cb' => array( 334 334 2=>array('FCKeditorParser', 'fck_leaveTemplatesAlone'), 335 3=>array('FCKeditorParser', 'fck_ leaveTemplatesAlone'),335 3=>array('FCKeditorParser', 'fck_skipArgs'), 336 336 ), 337 337 'min' =>2, 338 338 'max' =>3, … … 425 425 function fck_leaveTemplatesAlone( $matches ) { 426 426 return "<!--FCK_SKIP_START-->".$matches['text']."<!--FCK_SKIP_END-->"; 427 427 } 428 function fck_skipArgs( $matches ) { 429 return $matches['text']; 430 } 428 431 function formatHeadings( $text, $isMain=true ) { 429 432 return $text; 430 433 }