Skip to content

Commit

Permalink
Use standard css selector syntax for class
Browse files Browse the repository at this point in the history
  • Loading branch information
sidkshatriya committed Jul 21, 2016
1 parent 6aa510c commit 232da28
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[class="twitter-tweet"]');
$all_tweets = $this->q->top()->find('blockquote.twitter-tweet');
/** @var DOMQuery $el */
foreach ($all_tweets as $el) {
/** @var \DOMElement $dom_el */
Expand Down

0 comments on commit 232da28

Please sign in to comment.