Only trigger MD011 inside text elements

This ensures that the invalid link syntax isn't erroneously detected in
situations where links wouldn't have been generated if the correct syntax was
used such as code blocks.

Fixes #57