This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/helpers/member_helper.rb

5 lines
87 B
Ruby

module MemberHelper
def nl2br(val)
val.gsub(/\r\n/, '<br />').html_safe
end
end