From f7d162a0784e0f5d08f55e71738bd1502d1ea8bc Mon Sep 17 00:00:00 2001 From: Greg Aker Date: Tue, 9 Nov 2010 14:52:28 -0600 Subject: Fix #95 bug in the html helper where too much white space was rendered between the src and alt tags in the img() function. --- system/helpers/html_helper.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/helpers/html_helper.php') 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\""; } } -- cgit v1.2.3-24-g4f1b