Merge pull request #37 from jeena/master
Don't crash if it's not possible to attach to property
This commit is contained in:
commit
12417d5096
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue