aboutsummaryrefslogtreecommitdiff
path: root/lib/xml_builder.ex
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-05-15 17:47:29 +0200
committerlain <lain@soykaf.club>2019-05-15 17:47:29 +0200
commitf168a1cbdc318ffaa2d8bc9fb561eb3dfdfb89d9 (patch)
tree3c208baf52e27859491cce07954ac9b1198cbc8f /lib/xml_builder.ex
parent786f2c7a849bc4fa2bd4aac18de59ef6b2ed18c5 (diff)
parent62516be9c462ca206163eaf7822f9ee5c2470453 (diff)
downloadpleroma-f168a1cbdc318ffaa2d8bc9fb561eb3dfdfb89d9.tar.gz
Merge remote-tracking branch 'origin/develop' into conversations-import
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(" ")