Permalink
Browse files

Correct sending of Comments nodes

  • Loading branch information...
zetaben committed Jul 31, 2009
1 parent f79f8fc commit 9b744e9c9c3fbcfacb284906792e6002228b8b5d
Showing with 2 additions and 2 deletions.
  1. +1 −1 Html2Feedbooks.gemspec
  2. +1 −1 lib/feedbooks.rb
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = %q{Html2Feedbooks}
- s.version = '1.0.3'
+ s.version = '1.0.4'
s.date = %q{2009-04-28}
s.authors = ["Benoit Larroque"]
s.email = "zeta dot ben at gmail dot com"
View
@@ -109,7 +109,7 @@ def to_feedbooks(conf,path=nil)
doc.traverse_all_element do |e|
unless e.is_a?Hpricot::Text
e.name='xhtml:'+e.name
- e.etag='xhtml:'+e.etag unless e.etag.nil?
+ e.etag='xhtml:'+e.etag unless (!e.respond_to?:etag) || e.etag.nil?
end
end
FBPost.push(conf,'',doc.to_html,"Text",path)

0 comments on commit 9b744e9

Please sign in to comment.