Add comment to text2html() in message.inc.php as to why it does nothing.
This commit is contained in:
parent
3d01e5381f
commit
b2412a8cbf
|
@ -590,17 +590,10 @@ function decode_textbody($body,$format="fixed") {
|
|||
* to their entities
|
||||
*/
|
||||
function text2html($text) {
|
||||
/*
|
||||
return preg_replace("/^ /i"," ",
|
||||
str_replace(" "," ",
|
||||
str_replace(" "," ",
|
||||
str_replace("\n","<br>",
|
||||
htmlspecialchars($text)))));
|
||||
*/
|
||||
// These features have been replaced by css
|
||||
return $text;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* print an article to the webpage
|
||||
*
|
||||
|
@ -693,7 +686,6 @@ function message_show($group,$id,$attachment=0,$article_data=false,$maxlen=false
|
|||
for($j=@$body[$i]->depth; $j<$depth; $j++)
|
||||
echo '</blockquote>';
|
||||
$t = @$body[$i]->text;
|
||||
// $t=html_parse(text2html(@$body[$i]->text)).'<br>';
|
||||
echo $t;
|
||||
$currentlen+=strlen($t);
|
||||
echo "\n";
|
||||
|
|
Loading…
Reference in New Issue