custom renderer to handle link, image hrefs (issue #4)