summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/html_helper.php2
-rw-r--r--system/helpers/url_helper.php2
2 files changed, 2 insertions, 2 deletions
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 = '<img ';
+ $img = '<img';
foreach ($src as $k=>$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
{