Fix the behavior for link safety, return <a> without href
More test cases