If your html helpers return "Html" rather than String, you donβt need to wrap them using the @Html tag in the view.
eg,
import play.api.templates.Html def a(src: String, value: String) : Html = Html(s"<a href='$src'>$value</a>")
Will be called in the view as shown below, without the need for wrapping in @Html
@a("www.example.com", "Example")
source share