aboutsummaryrefslogtreecommitdiff
path: root/lib/xml_builder.ex
diff options
context:
space:
mode:
authorRoman Chvanikov <chvanikoff@gmail.com>2019-05-29 18:18:22 +0300
committerRoman Chvanikov <chvanikoff@gmail.com>2019-05-29 18:18:22 +0300
commitce47017c8927b8b2d31668d5e32e387d80739502 (patch)
treebe77acd4dc0c6b9d7b6cb8515470e1dae3212aa7 /lib/xml_builder.ex
parentf1f7a11222f4689f000825147d16b366d915f393 (diff)
parent57e58d26029388a5831cd2ac3fbc419c27c4d7c6 (diff)
downloadpleroma-ce47017c8927b8b2d31668d5e32e387d80739502.tar.gz
Merge develop
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(" ")