lib/kramdown/converter/slodown_html.rb in slodown-0.1.3 vs lib/kramdown/converter/slodown_html.rb in slodown-0.2.0

- old
+ new

@@ -7,9 +7,9 @@ # Hook into image tags to allow oEmbed embeds. # def convert_img(el, indent) oembed = OEmbed::Providers.get(el.attr['src']) %q(<div class="embedded %s %s">%s</div>) % [oembed.type, oembed.provider_name.parameterize, oembed.html] - rescue OEmbed::NotFound + rescue StandardError => e super end end