diff --git a/core/css/jquery-ui-fixes.scss b/core/css/jquery-ui-fixes.scss index 729a6197376..d80d0c61e46 100644 --- a/core/css/jquery-ui-fixes.scss +++ b/core/css/jquery-ui-fixes.scss @@ -71,6 +71,7 @@ border: 1px solid var(--color-main-background); background: var(--color-main-background) none; color: var(--color-text-lighter); + font-weight: 600; } .ui-state-highlight a, .ui-widget-content .ui-state-highlight a, diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js index c8d9822d256..7b8759527b3 100644 --- a/core/js/sharedialogview.js +++ b/core/js/sharedialogview.js @@ -472,7 +472,11 @@ } $("
") - .text(text) + .html( + text.replace( + new RegExp(this.term, "gi"), + "$&") + ) .appendTo(insert); insert.attr('title', item.value.shareWith); insert.append('');