spaces to tabs

This commit is contained in:
Devin Dombrowski - Locutus committed 2015-02-18 14:01:17 -08:00
1 parent 6e459dc808
commit 45857bf2ee
1 file changed
+10 -10
+10 -10
View File
@@ -247,20 +247,20 @@ class HtmlBuilder {
* @return string * @return string
*/ */
public function dl(array $list, array $attributes = []) public function dl(array $list, array $attributes = [])
{ {
$attributes = $this->attributes($attributes); $attributes = $this->attributes($attributes);
$html = "<dl{$attributes}>"; $html = "<dl{$attributes}>";
foreach ($list as $key => $value) foreach ($list as $key => $value)
{ {
$html .= "<dt>$key</dt><dd>$value</dd>"; $html .= "<dt>$key</dt><dd>$value</dd>";
} }
$html .= '</dl>'; $html .= '</dl>';
return $html; return $html;
} }
/** /**
* Create a listing HTML element. * Create a listing HTML element.