Found a solution. To achieve Xml indentation auto-correction in Geany (Mint/Ubuntu):
Install xmlindent CLI tool:
$ sudo apt-get install xmlindent
In Geany, at Edit > Format > Send selection To > Set Custom Commands add a command:
xmlindent -i 4 -f
This indents lines by 4 spaces and forces newlines on elements without children.