test/devcenter-parser_test.rb in devcenter-parser-2.2.3 vs test/devcenter-parser_test.rb in devcenter-parser-2.2.4
- old
+ new
@@ -41,10 +41,10 @@
html = '<p><strong>clean</strong></p>'
assert_parsing_result md, html
end
it 'allows embedding vimeo videos' do
- src = '<iframe src="https://player.vimeo.com/video/61044807?title=0&byline=0&portrait=0&color=a086ee" width="50" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'
+ src = '<iframe src="https://player.vimeo.com/video/61044807?title=0&byline=0&portrait=0&color=a086ee" width="50" height="281" frameborder="0" webkitallowfullscreen="" mozallowfullscreen="" allowfullscreen=""></iframe>'
assert_parsing_result src, src
end
it 'allows images' do
src = '<p><img src="http://nav.heroku.com/images/logos/logo.png" alt="image"></p>'