Remove analyze_link
Remove unnecessary variable
Add text escaping