includes/wikiengine/TagSanitizer.php
changeset 1382 78fbedb876f3
parent 1227 bdac73ed481e
equal deleted inserted replaced
1381:6b25c6bfd246 1382:78fbedb876f3
   486 	
   486 	
   487 	return $items;
   487 	return $items;
   488 }
   488 }
   489 
   489 
   490 class ReplacerCallback {
   490 class ReplacerCallback {
   491 	function ReplacerCallback( $from, $to ) {
   491 	function __construct( $from, $to ) {
   492 		$this->from = $from;
   492 		$this->from = $from;
   493 		$this->to = $to;
   493 		$this->to = $to;
   494 	}
   494 	}
   495 	
   495 	
   496 	function go( $matches ) {
   496 	function go( $matches ) {