Href in html and markdown > on link click > Connection refused

Hi Guys,

I have to include a link to my twitter account in html and consecutively render it.
Therefore I do the following:

twitterLink = """ <a href="">@ChristianKlose3</a> """
`st.markdown(twitterLink, unsafe_allow_html=True)

I get connection refused by twitter error. I wonder why?

For me it is not an option to do it with:
Even though this one works. Can someone explain what the difference is? Would be nice.


Opening in new tab (adding target="_blank" to the <a> tag) solves the problem.