module Bizside::ViewHelper
Public Instance Methods
html_line_break(s)
click to toggle source
# File lib/bizside/view_helper.rb, line 4 def html_line_break(s) ret = html_escape(s) ret.gsub(/\r\n|\r|\n/, "<br/>").html_safe end