correctly indent xml
This commit is contained in:
parent
11857a9308
commit
6723a51149
2 changed files with 26 additions and 26 deletions
|
|
@ -24,7 +24,7 @@ module Diaspora
|
||||||
end
|
end
|
||||||
|
|
||||||
def create_headers
|
def create_headers
|
||||||
<<-XML.strip
|
<<-XML
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:media="http://purl.org/syndication/atommedia" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:statusnet="http://status.net/schema/api/1/">
|
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:georss="http://www.georss.org/georss" xmlns:activity="http://activitystrea.ms/spec/1.0/" xmlns:media="http://purl.org/syndication/atommedia" xmlns:poco="http://portablecontacts.net/spec/1.0" xmlns:ostatus="http://ostatus.org/schema/1.0" xmlns:statusnet="http://status.net/schema/api/1/">
|
||||||
<generator uri="http://joindiaspora.com/">Diaspora</generator>
|
<generator uri="http://joindiaspora.com/">Diaspora</generator>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue