From b7b34196bcce094fdcb421b8e38abbb3512d138a Mon Sep 17 00:00:00 2001
From: Raffael Meyer <14891507+barredterra@users.noreply.github.com>
Date: Mon, 15 Sep 2025 12:53:52 +0200
Subject: [PATCH] fix(Server Script): open docs URL in new tab (#33982)
---
frappe/utils/safe_exec.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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