[bugfix] Trimming end of line from spaces where required. Ingest matches import.