Fix (hopefully) image and link regexes