Strip space from the gist number, add test for gist tag