harden and unit test links. more closely align links with daringfireball.