Change `'<a href="http://'` to `'<a href="//'` so that it'll go to an HTTPS profile page