diff options
author | lain <lain@soykaf.club> | 2019-06-13 13:26:39 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-06-13 13:26:39 +0000 |
commit | 6f5a0cc14e99cb26ef009cf8cf16f38902d5e11b (patch) | |
tree | 2fa88e68d4f690420a48b3cbe84296f7b759cb0e /test/fixtures | |
parent | a2318e9dd6c8daf5554b17e9312f1fb6e14326de (diff) | |
parent | 163fa180f5b06ca49464dd06a4fed64aed0c97bf (diff) | |
download | pleroma-6f5a0cc14e99cb26ef009cf8cf16f38902d5e11b.tar.gz pleroma-6f5a0cc14e99cb26ef009cf8cf16f38902d5e11b.zip |
Merge branch 'fix/ogp-title' into 'develop'
Rich Media Parser: Attempt to use <title> from HTML as a fallback
Closes #979
See merge request pleroma/pleroma!1277
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/rich_media/ogp-missing-title.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/fixtures/rich_media/ogp-missing-title.html b/test/fixtures/rich_media/ogp-missing-title.html new file mode 100644 index 000000000..fcdbedfc6 --- /dev/null +++ b/test/fixtures/rich_media/ogp-missing-title.html @@ -0,0 +1,12 @@ +<html prefix="og: http://ogp.me/ns#"> + +<head> + <title>The Rock (1996)</title> + <meta property="og:type" content="video.movie" /> + <meta property="og:url" content="http://www.imdb.com/title/tt0117500/" /> + <meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" /> + <meta property="og:description" + content="Directed by Michael Bay. With Sean Connery, Nicolas Cage, Ed Harris, John Spencer."> +</head> + +</html> |