Refactor _do_links
and simplify link handling logic
#441
Loading
_do_links
and simplify link handling logic
#441