Fix errors when rendering RSS feeds (#18531)
This commit is contained in:
parent
52f4e834f2
commit
0a1992430d
3 changed files with 11 additions and 1 deletions
|
@ -26,4 +26,10 @@ class RSS::MediaContent < RSS::Element
|
|||
description['type'] = 'plain'
|
||||
end
|
||||
end
|
||||
|
||||
def thumbnail(str)
|
||||
append_element('media:thumbnail') do |thumbnail|
|
||||
thumbnail['url'] = str
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue