Skip to content
Snippets Groups Projects
Commit 6f7c5f6e authored by rswindell's avatar rswindell
Browse files

Use HTML-encoded '@' in e-mail address to not confuse @@JS: in template.

parent 222e2753
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,6 @@ for(n=0;n<system.node_list.length;n++) { ...@@ -19,6 +19,6 @@ for(n=0;n<system.node_list.length;n++) {
else else
action=format(NodeAction[system.node_list[n].action] action=format(NodeAction[system.node_list[n].action]
,system.node_list[n].aux); ,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,"&#64;"), action: action});
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment