projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix multi-after-transaction
[akkoma]
/
lib
/
pleroma
/
web
/
xml.ex
diff --git
a/lib/pleroma/web/xml.ex
b/lib/pleroma/web/xml.ex
index 2b34611ace22f9dd6c03a2f65f13b845255800aa..0ab6e9d320f7c0bed4fa8d6071bd87ce2c203559 100644
(file)
--- a/
lib/pleroma/web/xml.ex
+++ b/
lib/pleroma/web/xml.ex
@@
-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)}")