aboutsummaryrefslogtreecommitdiff
path: root/lib/xml_builder.ex
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-05-18 13:37:38 +0300
committerrinpatch <rinpatch@sdf.org>2019-05-18 13:37:38 +0300
commit5ece901af3e887664653c79c5e61618cc5cf0ecf (patch)
tree93fc7c3bdb70348d5ef91fa9f7db3293b17f9854 /lib/xml_builder.ex
parentfd920c897339b9cedea042dd6698d14380cedae7 (diff)
parent8e9a764dfcde315afd055c8e63543bfca24cc41b (diff)
downloadpleroma-5ece901af3e887664653c79c5e61618cc5cf0ecf.tar.gz
Resolve merge conflicts and remove IO.inspects
Diffstat (limited to 'lib/xml_builder.ex')
-rw-r--r--lib/xml_builder.ex1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xml_builder.ex b/lib/xml_builder.ex
index 88f8ce2a3..b58602c7b 100644
--- a/lib/xml_builder.ex
+++ b/lib/xml_builder.ex
@@ -35,6 +35,7 @@ defmodule Pleroma.XmlBuilder do
defp make_open_tag(tag, attributes) do
attributes_string =
for {attribute, value} <- attributes do
+ value = String.replace(value, "\"", "&quot;")
"#{attribute}=\"#{value}\""
end
|> Enum.join(" ")