1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-29 03:07:42 +01:00

HtmlVariableList support html on keys (#539)

This commit is contained in:
parallels999 2023-09-19 14:52:29 -05:00 committed by GitHub
parent 27c3cc05ed
commit 29de66d4ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -263,7 +263,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
className: csscls('kvlist htmlvarlist'),
itemRenderer: function(dt, dd, key, value) {
$('<span />').attr('title', key).text(key).appendTo(dt);
$('<span />').attr('title', $('<i />').html(key || '').text()).html(key || '').appendTo(dt);
dd.html(value);
}