yiisoft/yii2 — pull request #3597 by armab (2014-05-26 20:35:46+00:00)
Title: Improved array support for "data" attribute in renderTagAttributes()

I suggest to add more advanced support to render nested arrays in "data" attribute of tag (HTML5).

Here is example:
http://api.jquery.com/data/#data-html5

```php
echo Html::tag('div', '', [
'data' => [
'role' => 'page',
'last-value' => 43,
'options' => [ // nested array
'name' => 'John',
],
],
]);
```
will generate:

```html

```