<a href="mailto:support@abc.com"> mail me </a>
Above code does not work because The @-symbol in mailto makes the framework cry for a value since it thinks that @ is a scala-command. Thus, to escape the @-symbol I used double @@ which works in simple texts.
But in above link when I used like this:
<a href="mailto:support@@abc.com"> Mail me </a>
here, mailto: is not working.
You need put @
twice, like support@@abc.com
I did verification on my own twirl template
<a href="mailto:support@@abc.com"> Mail me </a>
Is perfectly work. Maybe you cached a wrong version?
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.