Fix links to not replace .gif with .html in auto links.