Fix handling of // comments

Now looks for space before, since it was breaking URLs