trim leading spaces that can be created by pretty-printed jade