* lib/rss/rss.rb: removed empty lines from output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
636e37fcb9
commit
500bd1f033
@ -1,3 +1,7 @@
|
|||||||
|
Sat Dec 4 18:54:09 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||||
|
|
||||||
|
* lib/rss/rss.rb: removed empty lines from output.
|
||||||
|
|
||||||
Sat Dec 4 18:49:09 2004 Kouhei Sutou <kou@cozmixng.org>
|
Sat Dec 4 18:49:09 2004 Kouhei Sutou <kou@cozmixng.org>
|
||||||
|
|
||||||
* lib/rss/rss.rb (RSS::VERSION): 0.1.1 -> 0.1.2
|
* lib/rss/rss.rb (RSS::VERSION): 0.1.1 -> 0.1.2
|
||||||
|
@ -183,7 +183,8 @@ EOC
|
|||||||
<<-EOC
|
<<-EOC
|
||||||
rv = []
|
rv = []
|
||||||
@#{n}.each do |x|
|
@#{n}.each do |x|
|
||||||
rv << "\#{x.to_s(convert, indent)}"
|
value = "\#{x.to_s(convert, indent)}"
|
||||||
|
rv << value if /\\A\\s*\\z/ !~ value
|
||||||
end
|
end
|
||||||
rv.join("\n")
|
rv.join("\n")
|
||||||
EOC
|
EOC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user