mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-22 06:36:16 +00:00
make xmerl shut up about markup
This commit is contained in:
parent
d2cee15c15
commit
b2c29527fb
|
@ -26,7 +26,7 @@ defmodule Pleroma.Web.XML do
|
|||
|
||||
def parse_document(text) do
|
||||
try do
|
||||
doc = SweetXml.parse(text, dtd: :none)
|
||||
doc = SweetXml.parse(text, dtd: :none, quiet: true)
|
||||
|
||||
{:ok, doc}
|
||||
rescue
|
||||
|
|
Loading…
Reference in a new issue