remove trailing .html from links