class Diffy::HtmlFormatter
def clean_line(line)
def clean_line(line) if @options[:include_plus_and_minus_in_html] line.sub(/^(.)/, '<span class="symbol">\1</span>') else line.sub(/^./, '') end.chomp end
def clean_line(line) if @options[:include_plus_and_minus_in_html] line.sub(/^(.)/, '<span class="symbol">\1</span>') else line.sub(/^./, '') end.chomp end