Module: Jekyll::CharFilter
- Defined in:
- lib/starter_web/_plugins/simple_search_filter.rb
Instance Method Summary collapse
Instance Method Details
#remove_chars(input) ⇒ Object
17 18 19 20 21 |
# File 'lib/starter_web/_plugins/simple_search_filter.rb', line 17 def remove_chars(input) input.gsub! '\\','\' input.gsub! /\t/, ' ' input.strip_control_and_extended_characters end |