fix bug in computation of indent for Format Block
light refactor