From e658fb3a978e40653d72ef33549177c87cb714ce Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 27 Feb 2009 13:33:16 +0000 Subject: Closes #651: I agree, changed to convert both quotes. git-svn-id: https://code.elgg.org/elgg/trunk@2979 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/output/url.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'views/default/output/url.php') diff --git a/views/default/output/url.php b/views/default/output/url.php index af4582fba..07b5622bf 100644 --- a/views/default/output/url.php +++ b/views/default/output/url.php @@ -20,7 +20,7 @@ if ((substr_count($val, "http://") == 0) && (substr_count($val, "https://") == 0)) { $val = "http://" . $val; } - echo "". htmlentities($val, null, 'UTF-8'). ""; + echo "". htmlentities($val, ENT_QUOTES, 'UTF-8'). ""; } ?> \ No newline at end of file -- cgit v1.2.3