delete leading spaces AND matched tags v1.2.9