Fixed issue 170, broken module links in class view

Fixed the issue with broken links in class view. The original replace did only replace the first '/'. Replaced it by the appripriate regex.