class Marten::Template::Filter::LineBreaks

Overview

The linebreaks filter.

The linebreaks filter allows to convert a string replacing all newlines with HTML line breaks (
).

Defined in:

marten/template/filter/linebreaks.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]