diff --git a/frappe/public/js/frappe/utils/number_format.js b/frappe/public/js/frappe/utils/number_format.js index 4485521d63..8f2b00d768 100644 --- a/frappe/public/js/frappe/utils/number_format.js +++ b/frappe/public/js/frappe/utils/number_format.js @@ -315,7 +315,6 @@ function fmt_money(v, format) { return format_currency(v, format); } - Object.assign(window, { flt, cint, diff --git a/frappe/public/js/frappe/utils/utils.js b/frappe/public/js/frappe/utils/utils.js index 44a567b511..ce812868ad 100644 --- a/frappe/public/js/frappe/utils/utils.js +++ b/frappe/public/js/frappe/utils/utils.js @@ -285,11 +285,15 @@ Object.assign(frappe.utils, { if (!txt) return txt; var content = $("
").html(txt); - content.find("blockquote").parent("blockquote").addClass("hidden").before( - '

\ + content + .find("blockquote") + .parent("blockquote") + .addClass("hidden") + .before( + '

\ • • • \

' - ); + ); return content.html(); }, scroll_page_to_top() {