class Marten::Template::Filter::Escape

Overview

The escape filter.

The escape filter replaces special characters (namely &, <, >, " and ') in the template variable with their corresponding HTML entities.

Defined in:

marten/template/filter/escape.cr

Instance Method Summary

Instance methods inherited from class Marten::Template::Filter::Base

apply(value : Value, arg : Value | Nil = nil) : Value apply

Instance Method Detail

def apply(value : Value, arg : Value | Nil = nil) : Value #

[View source]