From: <nul...@cl...> - 2011-04-29 13:32:45
|
TADA Tadashi 2011-04-29 13:32:13 +0000 (Fri, 29 Apr 2011) New Revision: 5a38828282d47527d47bcacf204b991045ecb2a8 Log: a workaround for error on ruby 1.9.2. Modified files: ChangeLog tdiary/blog_style.rb Modified: ChangeLog (+3 -0) =================================================================== --- ChangeLog 2011-04-28 22:16:45 +0000 (c116351) +++ ChangeLog 2011-04-29 13:32:13 +0000 (2505a5f) @@ -1,4 +1,7 @@ 2011-04-29 TADA Tadashi <t...@td...> + * tdiary/blog_style.rb: a workaround for error on ruby 1.9.2. + +2011-04-29 TADA Tadashi <t...@td...> * Release 3.0.2. 2011-04-25 SHIBATA Hiroshi <shi...@gm...> Modified: tdiary/blog_style.rb (+1 -1) =================================================================== --- tdiary/blog_style.rb 2011-04-28 22:16:45 +0000 (d586594) +++ tdiary/blog_style.rb 2011-04-29 13:32:13 +0000 (209bf41) @@ -31,7 +31,7 @@ module TDiary if /^</ =~ section.body then r << %Q[#{section.body}\n] else - r << %Q[<p>#{section.body.collect{|l|l.chomp.sub( /^[ ]/u, '' )}.join( "</p>\n<p>" )}</p>\n] + r << %Q[<p>#{section.body.lines.collect{|l|l.chomp.sub( /^[ ]/u, '' )}.join( "</p>\n<p>" )}</p>\n] end section_id += 1 end |