Fix for image links and syntax highlighting