lib/Charu/ChangeLogMemo.rb in Charu-0.0.9 vs lib/Charu/ChangeLogMemo.rb in Charu-0.0.11

- old
+ new

@@ -1,9 +1,7 @@ # -*- encoding: utf-8 -*- -require 'redcarpet' - module Charu class Category attr_accessor :category def initialize() @category = [] @@ -97,9 +95,11 @@ #@item_log.gsub!(/(\r\n|\r\f\n|\r|\n)/, "</p>\n<p>") markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML) html = markdown.render(@item_log) + html.gsub!(/(\r\n|\r\f\n|\r|\n)/, "</p>\n<p>") + return html end return "" end