def _clean_link(url):<EOL>
return _CLEAN_LINK_RE.sub(lambda match: '<STR_LIT>' % ord(match.group(<NUM_LIT:0>)), url)<EOL>
Makes sure a link is fully encoded.  That is, if a ' ' shows up in
    the link, it will be rewritten to %20 (while not over-quoting
    % or other characters).