Fix 'cg /' crash and only use numeric values in web yank (thanks zlul!)