class HTML::Pipeline::PlainTextInputFilter

Overview

Escape HTML code to safe chars by using:

HTML.escape

Defined in:

html-pipeline/plain_text_input_filter.cr

Instance Method Summary

Constructor methods inherited from class HTML::Pipeline::TextFilter

new(doc, context = {"" => ""}) new

Instance methods inherited from class HTML::Pipeline::Filter

call call, context : Hash(String, String) context, doc : XML::Node doc, html : String html, parse_html(html : String) parse_html

Constructor methods inherited from class HTML::Pipeline::Filter

new(doc, context : Hash(String, String) = {"" => ""}) new

Class methods inherited from class HTML::Pipeline::Filter

call(doc, context = {"" => ""}) call

Instance Method Detail

def call #
Description copied from class HTML::Pipeline::Filter

Must implement this method when you wan't write a custom filter.


[View source]