<!DOCTYPE HTML>
<html>
  <body>
    <p style="display:inline-block">some&nbsp;<span>te<br/>xt</span></p>
  </body>
</html>