Fix for bug #6481. 

Strips out folder and file references for internal document links in IE