diff --git a/lib/microformats2/format.rb b/lib/microformats2/format.rb index 7d09deb..caaeca1 100644 --- a/lib/microformats2/format.rb +++ b/lib/microformats2/format.rb @@ -102,7 +102,7 @@ module Microformats2 send("#{mn}=", value) end if current = send(mn.pluralize) - current << value + current << value if current.respond_to? :<< else send("#{mn.pluralize}=", [value]) end