That part was necessary when we were extracting the URL from raw HTML, but now we're getting it from DOM, so it should already be escaped. I was more confused about everything below.