laravel/laravel — Issue #130: HTML::listing bug
Author: kevsmt
Created: 2011-10-30 17:13:41+00:00
State: open

Hi Taylor, sorry cant submit a pull request for this bug at HTML::listing
err @ 275 html.php

/**
* Generate an ordered or un-ordered list.
*
* @param string $type
* @param array $list
* @param array $attributes
* @return string
*/
private static function listing($type, $list, $attributes = array())
{
$html = '';

foreach ($list as $key => $value)
{
if (is_array($value))
{
//$html .= static::elements($type, $value);
$html .= static::listing($type, $value);
}
else
{
$html .= '
'.static::entities($value).'
';
}
}

return '<'.$type.static::attributes($attributes).'>'.$html.'';
}

Cheers!