Skip to content

Commit 29de66d

Browse files
authored
HtmlVariableList support html on keys (php-debugbar#539)
1 parent 27c3cc0 commit 29de66d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DebugBar/Resources/widgets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
263263
className: csscls('kvlist htmlvarlist'),
264264

265265
itemRenderer: function(dt, dd, key, value) {
266-
$('<span />').attr('title', key).text(key).appendTo(dt);
266+
$('<span />').attr('title', $('<i />').html(key || '').text()).html(key || '').appendTo(dt);
267267
dd.html(value);
268268
}
269269

0 commit comments

Comments
 (0)