Fix fails to parse a default param value that contains a space

It changes to accept a spaces in optional params. This fixes #268.
Merge branch 'fix268'