summaryrefslogtreecommitdiff
path: root/test/fixtures/rich_media
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-06-13 15:02:46 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-06-13 15:02:46 +0700
commita12f8e13c8f3cd176989c28810ff578bf7c09c69 (patch)
tree0f09c6d77094332a0094632745ebeb652f6732f1 /test/fixtures/rich_media
parent7363a0ea8aa5c034e0335e826c081f1166e71f92 (diff)
downloadpleroma-a12f8e13c8f3cd176989c28810ff578bf7c09c69.tar.gz
pleroma-a12f8e13c8f3cd176989c28810ff578bf7c09c69.zip
Improve <title> fallback; Add a test
Diffstat (limited to 'test/fixtures/rich_media')
-rw-r--r--test/fixtures/rich_media/ogp-missing-title.html12
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>