summaryrefslogtreecommitdiff
path: root/lib/xml_builder.ex
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-05-17 12:26:59 +0200
committerlain <lain@soykaf.club>2019-05-17 12:26:59 +0200
commit412a3d8a0f74ee3a46f9ba98d906c65c6c1c4da8 (patch)
treed7dc5c61e4b3a01b21e33ccbea3aa4bfffc051aa /lib/xml_builder.ex
parentf1e67bdc312ba16a37916024244d6cb9d4417c9e (diff)
parente5b34f5e0544371603bc2b570c26ede3182c2f8b (diff)
downloadpleroma-412a3d8a0f74ee3a46f9ba98d906c65c6c1c4da8.tar.gz
pleroma-412a3d8a0f74ee3a46f9ba98d906c65c6c1c4da8.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into rum-index
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(" ")