zetaben-Html2Feedbooks 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/feedbooks.rb +1 -1
- metadata +1 -1
data/lib/feedbooks.rb
CHANGED
@@ -109,7 +109,7 @@ module HTML2FB
|
|
109
109
|
doc.traverse_all_element do |e|
|
110
110
|
unless e.is_a?Hpricot::Text
|
111
111
|
e.name='xhtml:'+e.name
|
112
|
-
e.etag='xhtml:'+e.etag unless e.etag.nil?
|
112
|
+
e.etag='xhtml:'+e.etag unless (!e.respond_to?:etag) || e.etag.nil?
|
113
113
|
end
|
114
114
|
end
|
115
115
|
FBPost.push(conf,'',doc.to_html,"Text",path)
|