I think I’ve almost minimized my test to as below:
<!DOCTYPE html>
<html>
<body>
<table>
<tbody>
<tr>
<td>
<pre>AB</pre>
</td>
<td>
<pre><span>A</span>BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB</pre>
</td>
</tr>
</tbody>
</table>
</body>
</html>
Tested with Safari on iOS 17, it shows as below:
Remove the <span>
will solve this problem, but I don’t know why. Works on Safari for Mac & iPad.