custom link should be created with createLink instead of link, which generates markup