File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
test/fixtures/the-register Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,10 @@ module.exports = [
63
63
wrap ( $ => $ ( '[itemprop*="author"] [itemprop="name"]' ) . first ( ) . text ( ) ) ,
64
64
wrap ( $ => $ ( '[itemprop*="author"]' ) . first ( ) . text ( ) ) ,
65
65
wrap ( $ => $ ( 'meta[property="book:author"]' ) . attr ( 'content' ) ) ,
66
- strict ( wrap ( $ => $ ( 'a[class*="author"]' ) . first ( ) . text ( ) ) ) ,
66
+ strict ( wrap ( $ => $ ( 'a[class*="author"]' ) . text ( ) ) ) ,
67
67
strict ( wrap ( $ => $ ( '[class*="author"] a' ) . first ( ) . text ( ) ) ) ,
68
- strict ( wrap ( $ => $ ( '[class*="author"]' ) . first ( ) . text ( ) ) ) ,
69
- strict ( wrap ( $ => $ ( '[class*="byline"]' ) . text ( ) ) ) ,
70
- strict ( wrap ( $ => $ ( 'a[href*="/author/"]' ) . text ( ) ) )
68
+ strict ( wrap ( $ => $ ( 'a[href*="/author/"]' ) . first ( ) . text ( ) ) ) ,
69
+ strict ( wrap ( $ => $ ( 'a[href*="/author/"]' ) . text ( ) ) ) ,
70
+ strict ( wrap ( $ => $ ( '[class*="author"]' ) . text ( ) ) ) ,
71
+ strict ( wrap ( $ => $ ( '[class*="byline"]' ) . text ( ) ) )
71
72
]
Original file line number Diff line number Diff line change 1
1
{
2
- "author" : " Common Topics " ,
2
+ "author" : " Chris Mellor " ,
3
3
"date" : " 2016-05-03T16:26:00.000Z" ,
4
4
"description" : " Announcement overload? Oh, you'll love it just as much as Big Mickey Dell" ,
5
5
"image" : " https://regmedia.co.uk/2016/05/04/raincloud_teaser.jpg?x=1200&y=794" ,
You can’t perform that action at this time.
0 commit comments