Answer the question
In order to leave comments, you need to log in
How to substitute http links if the user did not set it?
Users forget to copy the link completely
And it turns out in the code that the
links work on the site, as internal
how to substitute http links if the user inserted the link without it<a href="youtube.com">youtube.com</a>
<a href="http://youtube.com">youtube.com</a>
Answer the question
In order to leave comments, you need to log in
The medium editor has linkValidation: true which solves all problems
No way. Learn how to link properly.
Face the problem that the desired internal link is replaced with an external one
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question