diff --git a/frappe/utils/safe_exec.py b/frappe/utils/safe_exec.py
index 9a61e2a78e..17726c15db 100644
--- a/frappe/utils/safe_exec.py
+++ b/frappe/utils/safe_exec.py
@@ -97,7 +97,7 @@ def safe_exec(
if not is_safe_exec_enabled():
msg = _("Server Scripts are disabled. Please enable server scripts from bench configuration.")
docs_cta = _("Read the documentation to know more")
- msg += f"
{docs_cta}"
+ msg += f"
{docs_cta}"
frappe.throw(msg, ServerScriptNotEnabled, title="Server Scripts Disabled")
# build globals