fix: remove localhost url from links()
fix: use utf-8 in regex