spaces to tabs
This commit is contained in:
1 parent
6e459dc808
commit
45857bf2ee
1 file changed
+10
-10
+10
-10
@@ -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.
|
||||||
|
|||||||
Reference in new issue
Block a user