Sorry but I don't understand the down vote , I was trying to understand the situation ?
Don't put spaces before commas or question marks.
Single question mark is enough. "??" looks sloppy.
Actually, I do this all the time, when what precedes the punctuation mark is a URL. It just doesn't seem right to have the URL seamlessly run into a punctuation mark that isn't actually part of it.
Another possibility is to put <> around the URL; but that didn't work correctly on HN last time I tried.
You can identify texts written by French people by the extra spaces (if they're careful or have a good word processor, it'll even be a non-breaking space).
PS: Spaces before smileys also permissible :-)