This internal helper function finds URL substrings in the input text and wraps them in HTML anchor tags with a line break so that they become clickable when rendered.
This internal helper function finds URL substrings in the input text and wraps them in HTML anchor tags with a line break so that they become clickable when rendered.