Skip to content

Commit

Permalink
Merge pull request #177 from obeyer/ob-twitter-fix
Browse files Browse the repository at this point in the history
Add twitter-video class to TwitterTransformPass
  • Loading branch information
Sigurður Guðbrandsson authored Apr 18, 2017
2 parents ed97cf4 + 35e03fd commit 160aa98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pass/TwitterTransformPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class TwitterTransformPass extends BasePass
{
function pass()
{
$all_tweets = $this->q->top()->find('blockquote.twitter-tweet');
$all_tweets = $this->q->top()->find('blockquote.twitter-tweet, blockquote.twitter-video');
/** @var DOMQuery $el */
foreach ($all_tweets as $el) {
/** @var \DOMElement $dom_el */
Expand Down

0 comments on commit 160aa98

Please sign in to comment.