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
|
* to their entities
|
||||||
*/
|
*/
|
||||||
function text2html($text) {
|
function text2html($text) {
|
||||||
/*
|
// These features have been replaced by css
|
||||||
return preg_replace("/^ /i"," ",
|
|
||||||
str_replace(" "," ",
|
|
||||||
str_replace(" "," ",
|
|
||||||
str_replace("\n","<br>",
|
|
||||||
htmlspecialchars($text)))));
|
|
||||||
*/
|
|
||||||
return $text;
|
return $text;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* print an article to the webpage
|
* 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++)
|
for($j=@$body[$i]->depth; $j<$depth; $j++)
|
||||||
echo '</blockquote>';
|
echo '</blockquote>';
|
||||||
$t = @$body[$i]->text;
|
$t = @$body[$i]->text;
|
||||||
// $t=html_parse(text2html(@$body[$i]->text)).'<br>';
|
|
||||||
echo $t;
|
echo $t;
|
||||||
$currentlen+=strlen($t);
|
$currentlen+=strlen($t);
|
||||||
echo "\n";
|
echo "\n";
|
||||||
|
|
Loading…
Reference in New Issue