Adding reference links to references. Not quite complete (line 118, Redmine1837#4).