I am fetching a paragraph from the backend in which I put a link. In front end I use p tag to display the paragraph. i want that if paragraph contains link then it will push in a tag instead of tag,
Asked
Active
Viewed 25 times
-1
-
does this answers your question? : https://stackoverflow.com/a/3890175/4718434 (convert plain links in a text to `a` link tags.) – yaya May 29 '22 at 13:02
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community May 29 '22 at 16:21