From 8fa2030023864976079e3f953cec60c7b6b2ad10 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sat, 20 Jun 2015 12:31:34 +0200 Subject: [PATCH] <3 causes troubles in D* --- include/text.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/text.php b/include/text.php index f8bbfcee24..2d265e6eee 100644 --- a/include/text.php +++ b/include/text.php @@ -1138,9 +1138,9 @@ function smilies($s, $sample = false) { ); $icons = array( - '<3', - '</3', - '<\\3', + '<3', + '</3', + '<\\3', ':-)', ';-)', ':-(', @@ -1217,7 +1217,7 @@ function preg_heart($x) { return $x[0]; $t = ''; for($cnt = 0; $cnt < strlen($x[1]); $cnt ++) - $t .= '<3'; + $t .= '<3'; $r = str_replace($x[0],$t,$x[0]); return $r; } -- 2.39.5