mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-28 00:25:25 +00:00
12 lines
248 B
Elixir
12 lines
248 B
Elixir
|
defmodule Pleroma.Web.RichMedia.Parsers.TwitterCard do
|
||
|
def parse(html, data) do
|
||
|
Pleroma.Web.RichMedia.Parsers.MetaTagsParser.parse(
|
||
|
html,
|
||
|
data,
|
||
|
"twitter",
|
||
|
"No twitter card metadata found",
|
||
|
"name"
|
||
|
)
|
||
|
end
|
||
|
end
|