File tree 8 files changed +22
-24
lines changed
8 files changed +22
-24
lines changed Original file line number Diff line number Diff line change 19
19
" p-summary"
20
20
],
21
21
"author" : [
22
- " p-author" ,
23
- " h-card "
24
- ],
22
+ " p-author" ,
23
+ " vcard "
24
+ ],
25
25
"geo" : [
26
- " p-geo" ,
27
- " h-geo"
28
- ],
26
+ " p-geo"
27
+ ],
29
28
"updated" : [
30
29
" dt-updated"
31
30
]
Original file line number Diff line number Diff line change 26
26
],
27
27
"review" : [
28
28
" p-review" ,
29
- " h-review "
29
+ " hreview "
30
30
],
31
31
"fn" : [
32
32
" p-name"
Original file line number Diff line number Diff line change 4
4
],
5
5
"properties" : {
6
6
"experience" : [
7
- " h-event " ,
8
- " p-experience "
7
+ " p-experience " ,
8
+ " vevent "
9
9
],
10
10
"summary" : [
11
11
" p-summary"
12
12
],
13
13
"affiliation" : [
14
14
" p-affiliation" ,
15
- " h-card "
15
+ " vcard "
16
16
],
17
17
"contact" : [
18
- " h-card " ,
19
- " p-contact "
18
+ " p-contact " ,
19
+ " vcard "
20
20
],
21
21
"skill" : [
22
22
" p-skill"
23
23
],
24
24
"education" : [
25
- " h-event " ,
26
- " p-education "
25
+ " p-education " ,
26
+ " vevent "
27
27
]
28
28
}
29
29
}
Original file line number Diff line number Diff line change 18
18
"reviewer" : [
19
19
" p-reviewer" ,
20
20
" p-author" ,
21
- " h-card "
21
+ " vcard "
22
22
],
23
23
"best" : [
24
24
" p-best"
Original file line number Diff line number Diff line change 14
14
],
15
15
"reviewer" : [
16
16
" p-author" ,
17
- " h-card "
17
+ " vcard "
18
18
],
19
19
"url" : [
20
20
" p-item" ,
21
- " h-item" ,
21
+ " h-item" ,
22
22
" u-url"
23
23
],
24
24
"photo" : [
Original file line number Diff line number Diff line change 31
31
" p-category"
32
32
],
33
33
"adr" : [
34
- " p-adr" ,
35
- " h-adr"
34
+ " p-adr"
36
35
],
37
36
"locality" : [
38
37
" p-locality"
80
79
" p-honorific-prefix"
81
80
],
82
81
"geo" : [
83
- " p-geo" ,
84
- " h-geo"
82
+ " p-geo"
85
83
],
86
84
"fn" : [
87
85
" p-name"
Original file line number Diff line number Diff line change 19
19
" dt-start"
20
20
],
21
21
"geo" : [
22
- " p-location h-geo "
22
+ " p-location"
23
23
],
24
24
"organizer" : [
25
25
" p-organizer"
Original file line number Diff line number Diff line change @@ -606,9 +606,10 @@ def test_value_name_whitespace():
606
606
def test_backcompat_hentry ():
607
607
result = parse_fixture ("backcompat/hentry.html" )
608
608
assert_true ('h-entry' in result ['items' ][0 ]['type' ])
609
+ assert_equal ({},
610
+ result ['items' ][0 ]['properties' ]['author' ][0 ]['properties' ])
609
611
assert_equal ('Tom Morris' ,
610
- result ['items' ][0 ]['properties' ]
611
- ['author' ][0 ]['properties' ]['name' ][0 ])
612
+ result ['items' ][0 ]['properties' ]['author' ][0 ]['value' ])
612
613
assert_equal ('A Title' ,
613
614
result ['items' ][0 ]['properties' ]['name' ][0 ])
614
615
assert_equal ('Some Content' ,
You can’t perform that action at this time.
0 commit comments