add indentation to opml

Co-authored-by: Kieran <kieran.eglin@gmail.com>
This commit is contained in:
Robert Kleinschuster 2024-12-18 23:12:00 +01:00 committed by GitHub
parent bc59d6c869
commit 07b4f6d30b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -24,12 +24,12 @@ defmodule Pinchflat.Podcasts.OpmlFeedBuilder do
""" """
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<opml version="2.0"> <opml version="2.0">
<head> <head>
<title>All Sources</title> <title>All Sources</title>
</head> </head>
<body> <body>
#{Enum.join(sources_xml, "\n")} #{Enum.join(sources_xml, "\n")}
</body> </body>
</opml> </opml>
""" """
end end