Sorry code as follows.
<a class="wpex-link" style="display: none;" id="wpexlink1568527662" href="javascript:expand(document.getElementById('wpex1568527662'))"><strong>How will the court decide who gets what?</strong></a>
php code
<$new_string = '<a class="wpex-link" style="display: none;" id="wpexlink' . $rnum . '" href="javascript:expand(document.getElementById(\'wpex' . $rnum . '\'))">' . $sdesc . '</a>' . "\n";>
nothing more on this. shame…I have the same problem – spending days of the my life searching forums.