Sha256: e321e4e425c0171b799a2b004b4e1c2f4512e4d0e4de81d593e11a7afcbd415d
Contents?: true
Size: 276 Bytes
Versions: 17
Compression:
Stored size: 276 Bytes
Contents
module HTML class Pipeline # Simple filter for plain text input. HTML escapes the text input and wraps it # in a div. class PlainTextInputFilter < TextFilter def call "<div>#{EscapeUtils.escape_html(@text, false)}</div>" end end end end
Version data entries
17 entries across 17 versions & 3 rubygems