1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-07-25 18:51:42 +02: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

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);
}