summaryrefslogtreecommitdiffstats
path: root/system/helpers/html_helper.php
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2009-09-16 13:25:20 +0200
committerDerek Allard <derek.allard@ellislab.com>2009-09-16 13:25:20 +0200
commit76763bb6e18c15bf099564789bfa621a938313d8 (patch)
tree9747da8480a9854c8615a326aee483ac6306bff8 /system/helpers/html_helper.php
parentefb37ca18bb622f943e3a0b65750dddfe077a889 (diff)
removed some trivial spaces from output
Diffstat (limited to 'system/helpers/html_helper.php')
-rw-r--r--system/helpers/html_helper.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php
index 427d1ce3f..ca933bd78 100644
--- a/system/helpers/html_helper.php
+++ b/system/helpers/html_helper.php
@@ -301,11 +301,11 @@ if ( ! function_exists('link_tag'))
{
if ($index_page === TRUE)
{
- $link .= ' href="'.$CI->config->site_url($v).'" ';
+ $link .= 'href="'.$CI->config->site_url($v).'" ';
}
else
{
- $link .= ' href="'.$CI->config->slash_item('base_url').$v.'" ';
+ $link .= 'href="'.$CI->config->slash_item('base_url').$v.'" ';
}
}
else
@@ -324,11 +324,11 @@ if ( ! function_exists('link_tag'))
}
elseif ($index_page === TRUE)
{
- $link .= ' href="'.$CI->config->site_url($href).'" ';
+ $link .= 'href="'.$CI->config->site_url($href).'" ';
}
else
{
- $link .= ' href="'.$CI->config->slash_item('base_url').$href.'" ';
+ $link .= 'href="'.$CI->config->slash_item('base_url').$href.'" ';
}
$link .= 'rel="'.$rel.'" type="'.$type.'" ';