Fork me on GitHub

SafeString

In package com.mitchellbosecke.pebble.extension.escaper

public class SafeString extends Object

Wrap a string in this to mark the string as safe to ignore by the Escape extension.

Warning: The EscaperExtension will never escape a string that is wrapped with this class.

Constructors

public SafeString(String content)
Parameters:
  • String content

Methods

public String toString()
Parameters:
  • No parameters
public boolean equals(Object o)
Parameters:
  • Object o
public int hashCode()
Parameters:
  • No parameters