openSUSE / docmanager

Manage DocBook 5 Meta Information
http://opensuse.github.io/docmanager/index.html
GNU General Public License v3.0
6 stars 6 forks source link

Docmanager does not seem to care about indentation in the original file #106

Open ghost opened 9 years ago

ghost commented 9 years ago

Docmanager currently does not seem to care what kind of indentation is used in the document already. It would be nice if it could adapt to the file's conventions: tabs or spaces and how many per indentation level.

For example, this happens when doing $ docmanager init sth.xml.

Some docmanager properties also seem to be set with completely inconsistent indentation (e.g. sometimes the end tag is indented further than the start tag.