summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--system/helpers/html_helper.php6
-rw-r--r--user_guide/changelog.html1
2 files changed, 4 insertions, 3 deletions
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
index 1c8603dbc..3010c6f8b 100644
--- a/system/helpers/html_helper.php
+++ b/system/helpers/html_helper.php
@@ -216,16 +216,16 @@ if ( ! function_exists('img'))
if ($index_page === TRUE)
{
- $img .= ' src="'.$CI->config->site_url($v).'" ';
+ $img .= ' src="'.$CI->config->site_url($v).'"';
}
else
{
- $img .= ' src="'.$CI->config->slash_item('base_url').$v.'" ';
+ $img .= ' src="'.$CI->config->slash_item('base_url').$v.'"';
}
}
else
{
- $img .= " $k=\"$v\" ";
+ $img .= " $k=\"$v\"";
}
}
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 67fcb7e25..4b6078a5a 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -190,6 +190,7 @@ Hg Tag: </p>
<li>Fixed a bug in the URL Helper where prep_url() could cause a PHP error on PHP versions &lt; 5.1.2.</li>
<li>Added a log message in core/output if the cache directory config value was not found.</li>
<li>Fixed a bug where multiple libraries could not be loaded by passing an array to load-&gt;library()</li>
+ <li>Fixed a bug in the html helper where too much white space was rendered between the src and alt tags in the img() function.</li>
</ul>
<h2>Version 1.7.2</h2>