I\'m trying to pass a simple URL to a view within a play framework app, however when passed as a string, the & in the url is changed to & w
&
If you want to render HTML content instead of displaying it as raw text, return the content .as("text/html"). Example:
.as("text/html")
WS.url("http://www.stackoverflow.com").get().map(resp => Ok(resp.body).as("text/html"))