Commit 49c62e68 by Qiang Xue

typo

parent 3dd3914a
...@@ -1455,7 +1455,7 @@ class BaseHtml ...@@ -1455,7 +1455,7 @@ class BaseHtml
} }
} elseif (is_array($value) && $name === 'data') { } elseif (is_array($value) && $name === 'data') {
foreach ($value as $n => $v) { foreach ($value as $n => $v) {
$html .= "$name-$n\"" . static::encode($v) . '"'; $html .= " $name-$n=\"" . static::encode($v) . '"';
} }
} elseif ($value !== null) { } elseif ($value !== null) {
$html .= " $name=\"" . static::encode($value) . '"'; $html .= " $name=\"" . static::encode($value) . '"';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment