Fix anchor link locations after conversion with RES.