Support for string arg on Embedded
This commit is contained in:
parent
0817798de2
commit
d11b0f182c
2 changed files with 5 additions and 1 deletions
|
@ -2,7 +2,7 @@ module Microformats2
|
|||
module Property
|
||||
class Embedded < Foundation
|
||||
def to_s
|
||||
@to_s ||= @element.inner_html.strip
|
||||
@to_s ||= string_value || @element.inner_html.strip
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue