Publishing of the code <a href="">

How to avoid the publication of the code <a href=”https://www.mywebsite.com/”> on the target websites?