def apply()

in support-frontend/app/views/JsStringLiteral.scala [7:18]


  def apply(rawString: String): Html = {
    val cleanString = rawString.flatMap {
      case '<' => "\\u003c"
      case '>' => "\\u003e"
      case '"' => "\\u0022"
      case '\'' => "\\u0027"
      case '\\' => "\\u005c"
      case '&' => "\\u0026"
      case other => other.toString
    }
    Html(s""""$cleanString"""")
  }