aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/xml/xml.ex
diff options
context:
space:
mode:
authorkaniini <nenolod@gmail.com>2018-12-12 07:28:47 +0000
committerkaniini <nenolod@gmail.com>2018-12-12 07:28:47 +0000
commit2592b3c81a5af20536c3cc9709e3971d6cfb1e68 (patch)
tree89fba8fe2ed33bb25ef554f67e4659e255f81709 /lib/pleroma/web/xml/xml.ex
parent2999a08e3590c43c623730b0cbf6b93045ac08c1 (diff)
parent89b3729afa130a62a47ed6372350ebfc5acb4064 (diff)
downloadpleroma-2592b3c81a5af20536c3cc9709e3971d6cfb1e68.tar.gz
Merge branch 'support/issue_442' into 'develop'
[#442] fix warnings See merge request pleroma/pleroma!536
Diffstat (limited to 'lib/pleroma/web/xml/xml.ex')
-rw-r--r--lib/pleroma/web/xml/xml.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/xml/xml.ex b/lib/pleroma/web/xml/xml.ex
index 63d3302e0..b3ccf4a55 100644
--- a/lib/pleroma/web/xml/xml.ex
+++ b/lib/pleroma/web/xml/xml.ex
@@ -25,7 +25,7 @@ defmodule Pleroma.Web.XML do
{doc, _rest} =
text
|> :binary.bin_to_list()
- |> :xmerl_scan.string()
+ |> :xmerl_scan.string(quiet: true)
doc
rescue