Modified img() in the HTML Helper to remove an unneeded space.
Modified anchor() in the URL helper to convert entities in the title attribute.
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
index 0c88450..4684d8e 100644
--- a/system/helpers/html_helper.php
+++ b/system/helpers/html_helper.php
@@ -199,7 +199,7 @@
$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 ad71caa..bd94b39 100644
--- a/system/helpers/url_helper.php
+++ b/system/helpers/url_helper.php
@@ -119,7 +119,7 @@
if ($attributes == '')
{
- $attributes = ' title="'.$title.'"';
+ $attributes = ' title="'.htmlentities($title).'"';
}
else
{