summaryrefslogtreecommitdiffstats
path: root/system/helpers
diff options
context:
space:
mode:
authorGreg Aker <greg.aker@ellislab.com>2010-11-09 21:52:28 +0100
committerGreg Aker <greg.aker@ellislab.com>2010-11-09 21:52:28 +0100
commitf7d162a0784e0f5d08f55e71738bd1502d1ea8bc (patch)
tree2c33306032dd179b7122ba31c1f9da5b38d06d9c /system/helpers
parentbdef2dcc47ef6aa8d0b82266d9038c8e7bc2bb72 (diff)
Fix #95 bug in the html helper where too much white space was rendered between the src and alt tags in the img() function.
Diffstat (limited to 'system/helpers')
-rw-r--r--system/helpers/html_helper.php6
1 files changed, 3 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\"";
}
}