Remove leading whitespace after newlines in capture templates