Including images and links (with src and href attributes whitelisted
Added regex and $ to remove spaces from markdown links, diff links better