Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hello all. I'm passing a String as a variable to a .scala.html page. If I call the string as "@string", it literally puts the string in the HTML page. How do I render it in the page with regards to HTML instructions (if the string contains "<p>", then it regards "<p>" as a new paragraph, rather than LITERALLY printing "<p>")?
- In my HTML page : @(storeID: Int, employeeID: Int, name: String, ab: String) ... <i><u>Announcement Board</i></u>
- @ab
- String "ab" may contain HTML code, which I which to render as HTML...
- I'm running Play 2.0.4 if it matters
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement