commit | ef8005b5cda2f7acf930aa88b7380a36bd06721b | [log] [tgz] |
---|---|---|
author | Phil Sturgeon <email@philsturgeon.co.uk> | Tue Aug 09 15:00:37 2011 -0600 |
committer | Phil Sturgeon <email@philsturgeon.co.uk> | Tue Aug 09 15:00:37 2011 -0600 |
tree | 67e49ea7b06cf2b1ec03a283c617fb55d3dc5279 | |
parent | ed9324264a4cea861abb98781f260ab170d2ac05 [diff] | |
parent | 03fb8ddfb9a9ce827405c106863db5d4678a6636 [diff] |
Merge branch 'develop' of github.com:philsturgeon/codeigniter-reactor into develop
diff --git a/system/helpers/html_helper.php b/system/helpers/html_helper.php index 080f622..b64b606 100644 --- a/system/helpers/html_helper.php +++ b/system/helpers/html_helper.php
@@ -124,6 +124,10 @@ } $attributes = $atts; } + elseif (is_string($attributes) AND strlen($attributes) > 0) + { + $attributes = ' '. $attributes; + } // Write the opening list tag $out .= "<".$type.$attributes.">\n";