From d8a0edcb573561cfc25ab66d5a1e2824bb8e862b Mon Sep 17 00:00:00 2001 From: gnuboard Date: Mon, 28 Jan 2013 14:10:59 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A0=84=EC=B2=B4=EA=B2=80=EC=83=89=20?= =?UTF-8?q?=EA=B2=B0=EA=B3=BC=EC=97=90=EC=84=9C=20HTML=20tag=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bbs/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbs/search.php b/bbs/search.php index 410e022b8..8ff0e2c5b 100644 --- a/bbs/search.php +++ b/bbs/search.php @@ -187,7 +187,7 @@ if ($stx) { if ($read_level[$idx] <= $member['mb_level']) { - $content = cut_str(get_text($row['wr_content']),300,"…"); + $content = cut_str(get_text(strip_tags($row['wr_content'])),300,"…"); if (strstr($sfl, 'wr_content')) $content = search_font($stx, $content); }