diff --git a/frappe/public/js/frappe/ui/toolbar/search.js b/frappe/public/js/frappe/ui/toolbar/search.js index c8da293e63..0e6cf206b8 100644 --- a/frappe/public/js/frappe/ui/toolbar/search.js +++ b/frappe/public/js/frappe/ui/toolbar/search.js @@ -821,11 +821,13 @@ frappe.search.HelpSearch = frappe.search.GlobalSearch.extend({ make_result_item: function(type, result) { var me = this; + var regEx = new RegExp("{index}", "ig"); + var content = result[1].replace(regEx, ''); var link_html = '
{2}
' + '