All pastes #400673 Raw Edit

Untitled

public php v1 · immutable
·published 2007-03-18 21:07 UTC
rendered paste body
		return strtr($str, array_flip(get_html_translation_table())); 	}		function Parse( $str )	{		require_once 'sources/classes/Highlighters/highlight_css.php';		$this->css = new highlight_css();				$str = nl2br( $str );		$str = stripslashes( $str );				$str = str_replace( "<script", "&lt;script", $str );		$str = preg_replace( "#moz\-binding:#is", "moz binding:", $str ); 				$str = $this->parse_simple( $str );				$str = str_replace( array( '[nextpage]' ), array( '[newpage]' ), $str );				$str = preg_replace( "#\[url=(.+?)\](.+?)\[\/url\]#se", "\$this->do_parse_url( array( 'url' => '\\1', 'urltext' => '\\2' ) )", $str );		$str = preg_replace( "#\[url\](.+?)\[\/url\]#se", "\$this->do_parse_url( array( 'url' => '\\1', 'urltext' => '\\1' ) )", $str );				$str = preg_replace( "#\[img\](.+?)\[\/img\]#se", "\$this->do_parse_img( array( 'img' => '\\1' ) )", $str );