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