FIX: Error when linking to absolute URLs with absolute links to images

Matching URLs with regular expressions is tough! However, this approach fixes issues when linking to absolute URLs with absolute image URLs inside them.