Skip to content

Commit 3097880

Browse files
committed
Fix for empty guid.
1 parent eb85dd4 commit 3097880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/feedkit/parser/xml_entry.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module Feedkit
44
module Parser
55
class XMLEntry < Entry
66
def entry_id
7-
@entry.entry_id ? @entry.entry_id.strip : nil
7+
@entry.entry_id.respond_to?(:strip) ? @entry.entry_id.strip : nil
88
end
99

1010
def author

0 commit comments

Comments
 (0)