Warn when links are generated inside of other links. Fixes #271.