Train partially command handles trailing whitespace. trigger(ParsedResult) sometimes contains linefeeds