Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Correct sending of Comments nodes

  • Loading branch information...
commit 9b744e9c9c3fbcfacb284906792e6002228b8b5d 1 parent f79f8fc
@zetaben authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Html2Feedbooks.gemspec
  2. +1 −1  lib/feedbooks.rb
View
2  Html2Feedbooks.gemspec
@@ -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
2  lib/feedbooks.rb
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.