Add indents to osc export file
This commit is contained in:
parent
82722937f7
commit
35caa22e40
1 changed files with 1 additions and 0 deletions
|
@ -720,6 +720,7 @@ public class OsmEditsFragment extends OsmAndListFragment implements SendPoiDialo
|
|||
XmlSerializer sz = Xml.newSerializer();
|
||||
|
||||
sz.setOutput(out, "UTF-8");
|
||||
sz.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true);
|
||||
sz.startDocument("UTF-8", true);
|
||||
sz.startTag("", "osmChange");
|
||||
sz.attribute("", "generator", "OsmAnd");
|
||||
|
|
Loading…
Reference in a new issue