Skip to content

Commit

Permalink
Fix display of icons in system information tab
Browse files Browse the repository at this point in the history
fixes #15637
  • Loading branch information
cedric-anne committed Oct 3, 2023
1 parent 587a5ba commit 6cdbdc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -2088,7 +2088,7 @@ public function showSystemInformations()
$cleaner_script = <<<JS
// Search all .section-content text content and Replace all instances of a '#' followed by a number so that there is a zero-width space between the # and the number
$('.section-content').each(function() {
$(this).text($(this).text().replace(/#(\d+)/g, '#\u200B$1'));
$(this).html($(this).html().replace(/#(\d+)/g, '#\u200B$1'));
});
JS;
echo Html::scriptBlock($cleaner_script);
Expand Down

0 comments on commit 6cdbdc4

Please sign in to comment.