make xmerl shut up about markup

This commit is contained in:
Floatingghost 2024-04-16 10:19:30 +01:00
parent d2cee15c15
commit b2c29527fb

View file

@ -26,7 +26,7 @@ defmodule Pleroma.Web.XML do
def parse_document(text) do def parse_document(text) do
try do try do
doc = SweetXml.parse(text, dtd: :none) doc = SweetXml.parse(text, dtd: :none, quiet: true)
{:ok, doc} {:ok, doc}
rescue rescue