From 6f7c5f6ee47536005d9b7836e361d64e0027c4bd Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Fri, 4 Mar 2005 03:35:02 +0000 Subject: [PATCH] Use HTML-encoded '@' in e-mail address to not confuse @@JS: in template. --- web/lib/leftnav_nodelist.ssjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lib/leftnav_nodelist.ssjs b/web/lib/leftnav_nodelist.ssjs index 411f521509..3e343bd484 100644 --- a/web/lib/leftnav_nodelist.ssjs +++ b/web/lib/leftnav_nodelist.ssjs @@ -19,6 +19,6 @@ for(n=0;n<system.node_list.length;n++) { else action=format(NodeAction[system.node_list[n].action] ,system.node_list[n].aux); - template.node_list.push({ name: u.alias, email: u.email, action: action}); + template.node_list.push({ name: u.alias, email: u.email.replace(/@/g,"@"), action: action}); } } -- GitLab