class HTML::Pipeline::PlainTextInputFilter

Simple filter for plain text input. HTML escapes the text input and wraps it in a div.

Public Instance Methods

call() click to toggle source
# File lib/html/pipeline/plain_text_input_filter.rb, line 8
def call
  "<div>#{EscapeUtils.escape_html(@text, false)}</div>"
end