add a fallback function

This commit is contained in:
rinpatch 2019-01-15 12:11:07 +03:00
parent 6f23139864
commit 2858fd2da2

View file

@ -57,7 +57,9 @@ defmodule Pleroma.Web.Metadata do
]
end
end
defp opengraph_tags(_) do
[]
end
def to_tag(data) do
with {name, attrs, _content = []} <- data do
HTML.Tag.tag(name, attrs)