Sha256: 9fe509bc1e914fd057d645414e2d7670e8f282e041d4afb16f93ddb9d8e5006c
Contents?: true
Size: 266 Bytes
Versions: 2
Compression:
Stored size: 266 Bytes
Contents
module Caramelize class RemoveTableTabLineEndings # take an input stream and convert all wikka syntax to markdown syntax def run body migrated_body = body.dup migrated_body.gsub!(/\|[\t ]*\r?[\n]/, "|\n") migrated_body end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
caramelize-0.4.0 | lib/caramelize/filters/remove_table_tab_line_endings.rb |
caramelize-0.3.0 | lib/caramelize/filters/remove_table_tab_line_endings.rb |