summaryrefslogtreecommitdiffstats
path: root/system/helpers/url_helper.php
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-03-06 14:01:47 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-03-06 14:01:47 +0100
commit37fb01baec92a3e7898380923712e0c48b21107a (patch)
tree2aa8b436935e0edf0a9df3ceacd49c392910296c /system/helpers/url_helper.php
parent4acd41aaa0e70577ab179a3a81d485ac2ab27523 (diff)
Modified img() in the HTML Helper to remove an unneeded space.
Modified anchor() in the URL helper to convert entities in the title attribute.
Diffstat (limited to 'system/helpers/url_helper.php')
-rw-r--r--system/helpers/url_helper.php2
1 files changed, 1 insertions, 1 deletions
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
{