<!DOCTYPE html>
<html>
<head>
  <style>
    div {
      width: 60px; 
      border: 1px solid green;
    }
  </style>
</head>
<body>
    <div>Text should<span></span><span>&nbsp;</span>wrap at the green border.</div>
    <div>Text should<span></span>wrap at the green border.</div>
</body>
</html>