Rails 参考URLそのまま。感謝! http://d.hatena.ne.jp/koseki2/20070415/hbr 検索用に記載 def hbr(str) str = html_escape(str) str.gsub(/\r\n|\r|\n/, "<br />") end # <%=hbr textarea_value %> Django 参考URLそのまま。感謝! http://www.notgeekerror.net/2008/03/26/django%EF%BE%9F%D0%B4%EF%BE%9F%EF%BC%9C%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%81%AE%E3%80%8E%E3%83%95%E3%82%A3%E3%83%AB%E3%82%BF%E3%80%8F%E3%81%A3%E3%8