Skip to content

Commit 0c3278b

Browse files
authored
Merge pull request #475 from json-ld/issues-312-RDFa-snippet
Update RDFa example to use RDFa 1.1 Lite.
2 parents 6cdab88 + 8d2469d commit 0c3278b

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

spec/latest/json-ld/index.html

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3926,13 +3926,19 @@ <h3>RDFa</h3>
39263926
<div ****prefix="foaf: http://xmlns.com/foaf/0.1/"****>
39273927
<ul>
39283928
<li ****typeof="foaf:Person"****>
3929-
<a ****rel="foaf:homepage" href="http://example.com/bob/" property="foaf:name"****>Bob</a>
3929+
<a ****property="foaf:homepage" href="http://example.com/bob/">
3930+
<span property="foaf:name"****>Bob</span>
3931+
</a>
39303932
</li>
39313933
<li ****typeof="foaf:Person"****>
3932-
<a ****rel="foaf:homepage" href="http://example.com/eve/" property="foaf:name"****>Eve</a>
3934+
<a ****property="foaf:homepage" href="http://example.com/eve/">
3935+
<span property="foaf:name"****>Eve</span>
3936+
</a>
39333937
</li>
39343938
<li ****typeof="foaf:Person"****>
3935-
<a ****rel="foaf:homepage" href="http://example.com/manu/" property="foaf:name"****>Manu</a>
3939+
<a ****property="foaf:homepage" href="http://example.com/manu/">
3940+
<span property="foaf:name"****>Manu</span>
3941+
</a>
39363942
</li>
39373943
</ul>
39383944
</div>

0 commit comments

Comments
 (0)