about summary refs log tree commit diff
path: root/app/views/well_known/host_meta/show.xml.ruby
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/well_known/host_meta/show.xml.ruby')
-rw-r--r--app/views/well_known/host_meta/show.xml.ruby2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/well_known/host_meta/show.xml.ruby b/app/views/well_known/host_meta/show.xml.ruby
index b4e867c5f..bb5a01a1b 100644
--- a/app/views/well_known/host_meta/show.xml.ruby
+++ b/app/views/well_known/host_meta/show.xml.ruby
@@ -9,4 +9,4 @@ doc << Ox::Element.new('XRD').tap do |xrd|
   end
 end
 
-('<?xml version="1.0" encoding="UTF-8"?>' + Ox.dump(doc, effort: :tolerant)).force_encoding('UTF-8')
+"<?xml version=\"1.0\" encoding=\"UTF-8\"?>#{Ox.dump(doc, effort: :tolerant)}".force_encoding('UTF-8')