lib/onebox/engine/asciinema_onebox.rb in onebox-2.2.12 vs lib/onebox/engine/asciinema_onebox.rb in onebox-2.2.13

- old
+ new

@@ -5,10 +5,9 @@ class AsciinemaOnebox include Engine include StandardEmbed always_https - matches_regexp(/^https?:\/\/asciinema\.org\/a\/[\p{Alnum}_\-]+$/) def to_html "<script type='text/javascript' src='https://asciinema.org/a/#{match[:asciinema_id]}.js' id='asciicast-#{match[:asciinema_id]}' async></script>" end