base support for links in docbox

currently replaces entire line that the link occurs on with just the
link. need either to create multiple text els to wrap around links &
position using getComputedTextLength or just change the option to be a
separate data link at the bottom
FF fix