Browse code

admin/news.php: use format_story function here, otherwise it may show newlines in this section - news.php in top-level directory had a different issue

Clarissa Walker authored on 2026/11/16 10:42:37
Showing 1 changed files
... ...
@@ -94,7 +94,7 @@ else
94 94
 
95 95
 		//assign values
96 96
 		$news->assign("newstitle", $stories['title']);
97
-		$news->assign("newsstory", $stories['story']);
97
+		$news->assign("newsstory", format_story($stories['story']));
98 98
 		$news->assign("newsauthor", $stories['author']);
99 99
 		$news->assign("newsdate", date("$dateformat $timeformat", $stories['date']));
100 100
 		$news->assign("oddeven", ($count % 2 ? "even" : "odd"));