Skip to content

Commit

Permalink
Merge pull request #127 from Lullabot/class-selector-syntax
Browse files Browse the repository at this point in the history
Use standard css selector syntax for class
  • Loading branch information
sidkshatriya authored Jul 21, 2016
2 parents 6aa510c + 232da28 commit bbf14f9
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 bbf14f9

Please sign in to comment.