Skip to content

Commit

Permalink
Split note onto multiple lines at "\n"
Browse files Browse the repository at this point in the history
  • Loading branch information
Chip Rosenthal committed Jul 26, 2012
1 parent dd685c9 commit bc2abf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/findit/base-feature.rb
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def info
s += " " + @zip unless @zip.empty?
result << s.html_safe

result << @note.html_safe unless @note.empty?
result += @note.html_safe.split("\n") unless @note.empty?

result << "%.1f mi away" % [@distance]

Expand Down

0 comments on commit bc2abf2

Please sign in to comment.