Fix #95 bug in the html helper where too much white space was rendered between the src and alt tags in the img() function.
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
index 1c8603d..3010c6f 100644
--- a/system/helpers/html_helper.php
+++ b/system/helpers/html_helper.php
@@ -216,16 +216,16 @@
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\"";
}
}