Formatting
authorMark Felder <feld@feld.me>
Mon, 7 Jun 2021 20:47:50 +0000 (15:47 -0500)
committerMark Felder <feld@feld.me>
Mon, 7 Jun 2021 20:47:50 +0000 (15:47 -0500)
lib/pleroma/web/metadata/providers/twitter_card.ex
test/pleroma/web/metadata/providers/twitter_card_test.exs

index 589989a9da561dadf0785e6cadfb6438ef75b673..12c372d77f7d349d6c7f0fd3c54301cefc7028e2 100644 (file)
@@ -86,7 +86,8 @@ defmodule Pleroma.Web.Metadata.Providers.TwitterCard do
                 {:meta, [property: "twitter:player:width", content: "480"], []},
                 {:meta, [property: "twitter:player:height", content: "480"], []},
                 {:meta, [property: "twitter:player:stream", content: url["href"]], []},
-                {:meta, [property: "twitter:player:stream:content_type", content: url["mediaType"]], []}
+                {:meta,
+                 [property: "twitter:player:stream:content_type", content: url["mediaType"]], []}
                 | acc
               ]
 
index 3a2f7ca31217cdc338506eb42339be949c4f98f7..196bca20a254629c8bf12937cb220783a4a7452d 100644 (file)
@@ -145,7 +145,11 @@ defmodule Pleroma.Web.Metadata.Providers.TwitterCardTest do
               ], []},
              {:meta, [property: "twitter:player:width", content: "480"], []},
              {:meta, [property: "twitter:player:height", content: "480"], []},
-             {:meta, [property: "twitter:player:stream", content: "https://pleroma.gov/about/juche.webm"], []},
+             {:meta,
+              [
+                property: "twitter:player:stream",
+                content: "https://pleroma.gov/about/juche.webm"
+              ], []},
              {:meta, [property: "twitter:player:stream:content_type", content: "video/webm"], []}
            ] == result
   end