diff --git a/module/metric/ui/details.html.php b/module/metric/ui/details.html.php
index 9bd24f85ca..77acdf66e7 100644
--- a/module/metric/ui/details.html.php
+++ b/module/metric/ui/details.html.php
@@ -23,8 +23,8 @@ $buildItems = function($items): array
(
set::href($item['href']),
!empty($item['attr']) && is_array($item['attr']) ? set($item['attr']) : null,
- $item['text']
- ) : $item['text'],
+ html($item['text'])
+ ) : html($item['text']),
set::collapse(!empty($item['text'])),
);
}