From 232da2858d01dfbefd1c7771562cbd7a738e7bdd Mon Sep 17 00:00:00 2001 From: Sidharth Kshatriya Date: Thu, 21 Jul 2016 11:03:25 +0530 Subject: [PATCH] Use standard css selector syntax for class --- src/Pass/TwitterTransformPass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Pass/TwitterTransformPass.php b/src/Pass/TwitterTransformPass.php index 81fea4c0..3f0b2437 100644 --- a/src/Pass/TwitterTransformPass.php +++ b/src/Pass/TwitterTransformPass.php @@ -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 */