score:17
Accepted answer
By default, HTML is escaped for security reasons. To output HTML, you wrap it in the Html helper: @Html(myUnencodedData)
.
Source: stackoverflow.com
Related Query
- Escaping HTML in a Java Play Framework Scala Template
- how to write java code inside scala template in java play framework
- One Play 2 Framework App - use both java and scala
- Calling a Scala from Java Play Framework which takes a ClassTag
- Inline variable in the Play framework 2.x Scala template
- Escaping scala reseverd word "type" in scala templete in play framework
- Play Framework template doesn't have Html type
- Using scala and java in play framework 2.1 : Session usage
- How to pass optional parameter to scala template in play framework 2
- Variable within scala template in play framework
- Mixing scala and java in Play Framework
- Format a double without decimals & adding commas for thousands in Scala Java Play framework
- Play Framework Scala Template
- Scala Play framework 2.2 - How to get information about a users loginstatus in template
- Does Play Framework with the Scala plugin support MVC and the Java API?
- How to call a Scala function from Play html template
- Play framework scala template with case statement on enumeration
- Troubleshooting performance issues in java / Scala play framework apps
- Play framework Twirl template comparing javascript element and scala variable
- Why can I not mix Scala code with HTML here in Play Framework 2 views?
- Populate Javascript array using Scala List in Play framework template
- play framework passing sub class to scala template
- Converting a Scala Session Object to a Java Session Object in Play Framework
- Convert Play Framework java Promise to Play Framework Scala Promise
- Play Framework Twirl template html element attribute
- Play Framework 2.4 use injected variable in Scala template
- handling json requests and responses in scala play framework and send to angular js java script
- Get scala template in a variable in Play Framework
- Play framework JavaScript function as scala template parameter
- Dynamic HTML ID with Bootstrap, Play framework and Scala templates
More Query from same tag
- Write to multiple outputs by key Scalding Hadoop, one MapReduce Job
- Custom Spray Formatter for NonEmptyList[A]
- Why is sbt using incorrect version number for declared dependencies?
- Logback dependency preventing SBT running offline
- Using spark to merge data in sorted order to csv files
- Strange Scala compiler warning
- Spark - Appending multiple rows to create columns for a common column id
- Cake pattern w/ akka: Providing implicit actorSystem to several layers
- spark elastic search throwing 403 forbidden error
- Compare dataframes and retrieve matching records
- Scala while loop returns Unit all the time
- spark filtering not working
- how to get an index of each partition when using RDD.mapPartitionsWithIndex?
- Spark, Scala, Databricks, combine and add columns
- Performing a join and groupBy on two dataframe
- While creating Object, setting values to methods or variable without using def or val keyword
- Convert existing SBT Scala application to Play
- Implicit conversion on this not kicking in
- Java synchronized deadlock?
- Is it possible to use IN clause in plain sql Slick for integers?
- geting "No lifecycle class found!" in scalatra
- What is the difference between using the return statement and defaulting to return the last value?
- Understanding takeWhile termination condition during Iterator.iterate in Scala
- play framework atmosphere
- Efficiently randomly sampling List while maintaining order
- Scala implicit conversion of primitive to AnyRef
- Akka: Guarding an async resource
- scala method isAnonymousClass returning false
- Post request with Akka http
- trying to understand "final abstract class Int private extends AnyVal in Scala