Fix indenting removes characters if line has tabs at start

Merged Waqar Ahmed requested to merge work/fix-indent into master
Edited by Waqar Ahmed

Merge request reports