projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'develop' of https://git.pleroma.social/pleroma/pleroma into develop
[akkoma]
/
lib
/
pleroma
/
web
/
xml.ex
diff --git
a/lib/pleroma/web/xml.ex
b/lib/pleroma/web/xml.ex
index c69a86a1e37a234c612a4080b147e9f7cc197a28..0ab6e9d320f7c0bed4fa8d6071bd87ce2c203559 100644
(file)
--- a/
lib/pleroma/web/xml.ex
+++ b/
lib/pleroma/web/xml.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.XML do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.XML do
@@
-31,7
+31,7
@@
defmodule Pleroma.Web.XML do
|> :binary.bin_to_list()
|> :xmerl_scan.string(quiet: true)
|> :binary.bin_to_list()
|> :xmerl_scan.string(quiet: true)
- doc
+ {:ok, doc}
rescue
_e ->
Logger.debug("Couldn't parse XML: #{inspect(text)}")
rescue
_e ->
Logger.debug("Couldn't parse XML: #{inspect(text)}")