diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-05 05:37:33 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-03-13 04:26:56 +0100 |
commit | c42d34b2ec2dacd9a038f721f7a817ee43cc0a4f (patch) | |
tree | 7f658bf7c31adfd5ea4726f90124193213deddf7 /lib/pleroma/web/metadata | |
parent | 8cd3eada7dec00f4e2ddd24c6a4286a4450281c1 (diff) | |
download | pleroma-c42d34b2ec2dacd9a038f721f7a817ee43cc0a4f.tar.gz |
[Credo] fix Credo.Check.Readability.MaxLineLength
Diffstat (limited to 'lib/pleroma/web/metadata')
-rw-r--r-- | lib/pleroma/web/metadata/opengraph.ex | 2 | ||||
-rw-r--r-- | lib/pleroma/web/metadata/twitter_card.ex | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/pleroma/web/metadata/opengraph.ex b/lib/pleroma/web/metadata/opengraph.ex index cafb8134b..357b80a2d 100644 --- a/lib/pleroma/web/metadata/opengraph.ex +++ b/lib/pleroma/web/metadata/opengraph.ex @@ -88,7 +88,7 @@ defmodule Pleroma.Web.Metadata.Providers.OpenGraph do # TODO: Add additional properties to objects when we have the data available. # Also, Whatsapp only wants JPEG or PNGs. It seems that if we add a second og:image - # object when a Video or GIF is attached it will display that in the Whatsapp Rich Preview. + # object when a Video or GIF is attached it will display that in Whatsapp Rich Preview. case media_type do "audio" -> [ diff --git a/lib/pleroma/web/metadata/twitter_card.ex b/lib/pleroma/web/metadata/twitter_card.ex index a0be383e5..040b872e7 100644 --- a/lib/pleroma/web/metadata/twitter_card.ex +++ b/lib/pleroma/web/metadata/twitter_card.ex @@ -97,7 +97,8 @@ defmodule Pleroma.Web.Metadata.Providers.TwitterCard do | acc ] - # TODO: Need the true width and height values here or Twitter renders an iFrame with a bad aspect ratio + # TODO: Need the true width and height values here or Twitter renders an iFrame with + # a bad aspect ratio "video" -> [ {:meta, [property: "twitter:card", content: "player"], []}, |