-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In this third bigger release we **added support**: - For exporting articles in the Facebook Instant Article format - For exporting articles in a plain text format - To all exporters for `caption` elements that are an empty array - For `[no-caption]` text in _Google Documents_ below elements (like images or embed URLs), this now returns empty caption for element **Improvements** were done regarding additional element placement: - Rework algorithm to place additional elements to better support placing a single element - Improve behavior of multiple calls to `Article#place_additional_elements` One potentially **breaking change** was added: - Remove deprecated `#register_html_element_exporter`, use `#register_element_exporters` instead **Fixes**: - Fix AMP export of Twitter tweets
- Loading branch information
1 parent
a9b4057
commit 7092e3b
Showing
5 changed files
with
19 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module ArticleJSON | ||
VERSION = '0.2.1' | ||
VERSION = '0.3.0' | ||
end |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"article_json_version": "0.2.1", | ||
"article_json_version": "0.3.0", | ||
"content": [ | ||
{ | ||
"type": "paragraph", | ||
|