added ability for inline item to act as a link(instead of span)