Fix issues with double-colon links

See #1