replace link with full reference (fix issue #29)