From 2cee4ec8b2a792a05a80d7262aafc6ce078fcc85 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Mon, 14 Aug 2006 21:52:42 +0000 Subject: [PATCH] r1036: Try using htmlspecialchars() --- syndicate.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syndicate.php b/syndicate.php index c00f910..d8679b6 100644 --- a/syndicate.php +++ b/syndicate.php @@ -2,7 +2,7 @@ /*=====================================================================*\ || ################################################################### || # Bugdar [#]version[#] -|| # Copyright ©2002-[#]year[#] Blue Static +|| # Copyright ¬©2002-[#]year[#] Blue Static || # || # This program is free software; you can redistribute it and/or modify || # it under the terms of the GNU General Public License as published by @@ -56,7 +56,7 @@ $bugs_fetch = $db->query(" ); while ($bug = $db->fetch_array($bugs_fetch)) { - $bug['storytext'] = str_replace(array('<', '>'), array('<', '>'), sprintf( + $bug['storytext'] = htmlspecialchars(sprintf( $lang->string(' -- 2.22.5
Bug ID: