From 37fb01baec92a3e7898380923712e0c48b21107a Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Thu, 6 Mar 2008 13:01:47 +0000 Subject: Modified img() in the HTML Helper to remove an unneeded space. Modified anchor() in the URL helper to convert entities in the title attribute. --- system/helpers/html_helper.php | 2 +- system/helpers/url_helper.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'system/helpers') diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php index 0c884502f..4684d8ea8 100644 --- a/system/helpers/html_helper.php +++ b/system/helpers/html_helper.php @@ -199,7 +199,7 @@ if (! function_exists('img')) $src = array('src' => $src); } - $img = '$v) { diff --git a/system/helpers/url_helper.php b/system/helpers/url_helper.php index ad71caa45..bd94b390c 100644 --- a/system/helpers/url_helper.php +++ b/system/helpers/url_helper.php @@ -119,7 +119,7 @@ if (! function_exists('anchor')) if ($attributes == '') { - $attributes = ' title="'.$title.'"'; + $attributes = ' title="'.htmlentities($title).'"'; } else { -- cgit v1.2.3-24-g4f1b