diff -r 7f621a3a9cbf -r 67a4c839c7e1 includes/wikiengine/render_xhtml.php --- a/includes/wikiengine/render_xhtml.php Sun Aug 09 01:26:57 2009 -0400 +++ b/includes/wikiengine/render_xhtml.php Sun Aug 09 01:27:45 2009 -0400 @@ -114,12 +114,23 @@ return $text; } - public function blockquote($text, $pieces) + public function blockquote($text) + { + return $text; + } + + public function blockquotepost($text, $rand_id) { - foreach ( $pieces as $i => $piece ) - { - $text = str_replace(Carpenter::generate_token($i), "
\n" . nl2br($piece) . "\n
\n", $text); - } + $text = strtr($text, array( + "

{blockquote:$rand_id}
" => '

', + "
\n{/blockquote:$rand_id}

" => '
', + "{blockquote:$rand_id}" => '
', + "{/blockquote:$rand_id}" => '
' + )); + $text = strtr($text, array( + "

" => '
', + "

" => '
' + )); return $text; }