java - Format a string and replace %s with html element in scala play framework -
i have string "user: %s" , want format , replace "%s" <a href="#">john</a>
. how should in view files?
p.s. using "user: %s".format("john")
browser render i <a href="#">john</a>
instead of "i john".
Comments
Post a Comment