title: Best way to make links clickable in block of text
body: <p>I want:</p>
  
  <blockquote>
  <pre><code>Here is link: http://google.com
  And http://example.com inside.
  And another one at the very end: http://test.net
  </code></pre>
  </blockquote>
  
  <p>to become:</p>
  
  <blockquote>
  <pre><code>Here is link: &lt;a href="http://google.com"&gt;http://google.com&lt;/a&gt;
  And &lt;a href="http://example.com"&gt;http://example.com&lt;/a&gt; inside.
  And another one at the very end: &lt;a href="http://test.net"&gt;http://test.net&lt;/a&gt;
  </code></pre>
  </blockquote>
  
  <p>Seems like a trivial task, but I cannot find a PHP function that works. Do you have any ideas?</p>
  
  <pre><code>function make_links_clickable($text){
      // ???
  }
  
  $text = 'Here is link: http://google.com
  And http://example.com inside.
  And another one at the very end: http://test.net';
  
  echo make_links_clickable($text);
  </code></pre>