WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<a href="..."><div> some text...text ....text .</div></a>
<div> <a href="...">some text...text ....text .</a></div>
$link = '<a href="http://www...."> </a>';$description = '<div> some <p>dummy text</p>...dummy text ....<span>text</span>......test.... .</div>';Now I need function to locate pure text and put a link ( $link ) around each peace of text in $descriptionThe result should be something like this:$description = '<div> <a href="http://www....">some</a> <p><a href="http://www....">dummy text</a></p><a href="http://www....">...dummy text ....</a><span><a href="http://www....">text</a></span><a href="http://www....">......test....</a></div>';