includes/search.php
changeset 1228 9e9334417dbc
parent 1227 bdac73ed481e
child 1289 541bb25d0b22
--- a/includes/search.php	Sun Mar 28 23:10:46 2010 -0400
+++ b/includes/search.php	Mon Mar 29 01:47:31 2010 -0400
@@ -447,7 +447,7 @@
 	{
 		do
 		{
-			$row['page_text'] = htmlspecialchars($row['page_text']);
+			$row['page_text'] = htmlspecialchars(strip_tags($row['page_text']));
 			$row['page_name'] = htmlspecialchars($row['page_name']);
 
 			// Highlight results (this is wonderfully automated)