Fix metadata links in the pdf so that it works in the widgets and classic interface.
Merge pull request #281 from ianwallen/Fix_Issue_274

Fix for Issue #274