remove extra leading spaces in code blocks