mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-04-23 11:24:08 +00:00
add a fallback function
This commit is contained in:
parent
6f23139864
commit
2858fd2da2
1 changed files with 3 additions and 1 deletions
|
@ -57,7 +57,9 @@ defmodule Pleroma.Web.Metadata do
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
defp opengraph_tags(_) do
|
||||||
|
[]
|
||||||
|
end
|
||||||
def to_tag(data) do
|
def to_tag(data) do
|
||||||
with {name, attrs, _content = []} <- data do
|
with {name, attrs, _content = []} <- data do
|
||||||
HTML.Tag.tag(name, attrs)
|
HTML.Tag.tag(name, attrs)
|
||||||
|
|
Loading…
Reference in a new issue