aboutsummaryrefslogtreecommitdiff
path: root/lib/xml_builder.ex
diff options
context:
space:
mode:
authorlambda <lain@soykaf.club>2019-05-13 18:58:04 +0000
committerlambda <lain@soykaf.club>2019-05-13 18:58:04 +0000
commitb14a314ce7e8f2a8803c69329978e26939a40ee4 (patch)
tree0cd18222c915a121c3b52ed56bbc28547d5561e5 /lib/xml_builder.ex
parentf3e8f5b1f208b10130c7123e68af1e38575f180b (diff)
parent44b182732efe2d8571aa54e6062637e7e42021ce (diff)
downloadpleroma-b14a314ce7e8f2a8803c69329978e26939a40ee4.tar.gz
Merge branch 'feature/federator-behaviours' into 'develop'
federator modularization (outgoing) See merge request pleroma/pleroma!1140
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(" ")