Added back code for fixing nested links in the form of relative/../ (only one level is handled).