Merge pull request #804 from jay-hodgson/develop

merge branch 'release-27'
Merge pull request #805 from jay-hodgson/SWC-1144

Swc-1144: fix doi detection, output anchor text, and add a test