Added extra attribute block for links and images.