Skip to content

Commit bbf14f9

Browse files
authored
Merge pull request #127 from Lullabot/class-selector-syntax
Use standard css selector syntax for class
2 parents 6aa510c + 232da28 commit bbf14f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pass/TwitterTransformPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class TwitterTransformPass extends BasePass
3030
{
3131
function pass()
3232
{
33-
$all_tweets = $this->q->top()->find('blockquote[class="twitter-tweet"]');
33+
$all_tweets = $this->q->top()->find('blockquote.twitter-tweet');
3434
/** @var DOMQuery $el */
3535
foreach ($all_tweets as $el) {
3636
/** @var \DOMElement $dom_el */

0 commit comments

Comments
 (0)