Fixed some issues with auto-linking URLs interfering with Markdown images, reference-style links, and img tags.