|
From: Henry S. <kel...@ph...> - 2009-07-22 22:02:39
|
Author: Kellanved
Date: Wed Jul 22 22:02:10 2009
New Revision: 9837
Log:
handle newlines
Modified:
branches/phpBB-3_0_0/phpBB/posting.php
Modified: branches/phpBB-3_0_0/phpBB/posting.php
==============================================================================
*** branches/phpBB-3_0_0/phpBB/posting.php (original)
--- branches/phpBB-3_0_0/phpBB/posting.php Wed Jul 22 22:02:10 2009
***************
*** 1193,1199 ****
}
else
{
! $message = '> ' . utf8_wordwrap(censor_text(trim($message_parser->message)), 75, "\n> ");
$message_parser->message = $post_data['quote_username'] . " " . $user->lang['WROTE'] . " :\n" . $message . "\n";
}
}
--- 1193,1200 ----
}
else
{
! $message = '> ' . utf8_wordwrap(censor_text(trim($message_parser->message)), 75, "\n");
! $message = str_replace("\n", "\n> ", $message);
$message_parser->message = $post_data['quote_username'] . " " . $user->lang['WROTE'] . " :\n" . $message . "\n";
}
}
|