把 字符串中没有加链接的 url 加上链接 有的就不用了。
$str = '<a href="xxxx">xsx</a> https://v2ex.ih06.com ';
显示成
<a href="xxxx">xsx</a> <a href="https://v2ex.ih06.com">https://v2ex.ih06.com</a>
$str = '<a href="xxxx">xsx</a> https://v2ex.ih06.com ';
显示成
<a href="xxxx">xsx</a> <a href="https://v2ex.ih06.com">https://v2ex.ih06.com</a>