forked from e621ng/e621ng
8 lines
160 B
Ruby
8 lines
160 B
Ruby
# frozen_string_literal: true
|
|
|
|
module TextHelper
|
|
def text_diff(this, that)
|
|
Diffy::Diff.new(this, that, ignore_crlf: true).to_s(:html).html_safe
|
|
end
|
|
end
|