X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fxml_builder.ex;h=52358c437c78ed9ba016448e8acb4ce3a6db681c;hb=2b2fa94e9445185060ce1704a67b0f8e43e9ef2d;hp=c6d1449036705084f785c056b3dfce32f0ee703e;hpb=b403ea4d2b69cef4434ad68babdfb402d8227847;p=akkoma diff --git a/lib/xml_builder.ex b/lib/xml_builder.ex index c6d144903..52358c437 100644 --- a/lib/xml_builder.ex +++ b/lib/xml_builder.ex @@ -37,6 +37,6 @@ defmodule Pleroma.XmlBuilder do "#{attribute}=\"#{value}\"" end |> Enum.join(" ") - [tag, attributes_string] |> Enum.join(" ") |> String.strip + [tag, attributes_string] |> Enum.join(" ") |> String.trim end end