protect against space in input line

although it should not be there
Merge pull request #2678 from rolandwalker/devscript_escaping_nit

protect against space in input line