Sha256: 503881d682119e2e053bb7b99f4ec5041ec2e0801a987b8d8ddd5ec7e33fc49f
Contents?: true
Size: 371 Bytes
Versions: 7
Compression:
Stored size: 371 Bytes
Contents
module Vidibus module Textile module Extensions module View extend ActiveSupport::Concern # Returns plain text without markup. # If option :plain is true, newlines will be removed. def stripped(string, options = {}) string ? Vidibus::Textile.new(string).to_text(options) : "" end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems