You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then encodeForHTMLAttribute encodes '[email protected]' it to user@example.com.
What is the right way to encode this value so it looks like [email protected]?
Thanks,
The text was updated successfully, but these errors were encountered:
ipeychev
changed the title
Why does encodeForHTMLAttribute encodes '@' too?
Why does encodeForHTMLAttribute encode '@' too?
Aug 4, 2017
ipeychev
changed the title
Why does encodeForHTMLAttribute encode '@' too?
Why "encodeForHTMLAttribute" encodes '@' too?
Aug 4, 2017
Off the cuff I’m not sure as the At symbol isn’t reserved.
I don’t manage the node version of this, but it sounds like it could be a bug. Is the @ symbol used in javascript backends? I’m not familiar with node.
The function
encodeForHTMLAttribute
encodes the symbol '@' too. However, if we have such an element:then
encodeForHTMLAttribute
encodes '[email protected]' it touser@example.com
.What is the right way to encode this value so it looks like
[email protected]
?Thanks,
The text was updated successfully, but these errors were encountered: