Add comment to text2html() in message.inc.php as to why it does nothing.

This commit is contained in:
Retro_Guy 2023-08-19 07:09:41 -07:00
parent 3d01e5381f
commit b2412a8cbf
1 changed files with 1 additions and 9 deletions

View File

@ -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";