From b2412a8cbf68f080802b40b8406017d185d86a1c Mon Sep 17 00:00:00 2001 From: Retro_Guy Date: Sat, 19 Aug 2023 07:09:41 -0700 Subject: [PATCH] Add comment to text2html() in message.inc.php as to why it does nothing. --- Rocksolid_Light/rocksolid/lib/message.inc.php | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/Rocksolid_Light/rocksolid/lib/message.inc.php b/Rocksolid_Light/rocksolid/lib/message.inc.php index 0c3a83b..ee4cba3 100644 --- a/Rocksolid_Light/rocksolid/lib/message.inc.php +++ b/Rocksolid_Light/rocksolid/lib/message.inc.php @@ -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","
", - 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 ''; $t = @$body[$i]->text; - // $t=html_parse(text2html(@$body[$i]->text)).'
'; echo $t; $currentlen+=strlen($t); echo "\n";