-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
86 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"objectType": "article", | ||
"displayName": "article abc", | ||
"content": "foo bar", | ||
"image": [{ | ||
"url": "http://pic/ture.jpg", | ||
"displayName": "my alt text" | ||
}] | ||
} |
12 changes: 12 additions & 0 deletions
12
granary/test/testdata/article_with_photo_with_alt.mf2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<article class="h-entry"> | ||
<span class="p-uid"></span> | ||
|
||
<span class="p-name">article abc</span> | ||
<div class="e-content"> | ||
|
||
foo bar | ||
</div> | ||
|
||
<img class="u-photo" src="http://pic/ture.jpg" alt="my alt text" /> | ||
|
||
</article> |
14 changes: 14 additions & 0 deletions
14
granary/test/testdata/article_with_photo_with_alt.mf2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"type": ["h-entry"], | ||
"properties": { | ||
"name": ["article abc"], | ||
"content": [{ | ||
"value": "foo bar", | ||
"html": "foo bar" | ||
}], | ||
"photo": [{ | ||
"value": "http://pic/ture.jpg", | ||
"alt": "my alt text" | ||
}] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters