title: dompdf word-break on chars with different style
body: <p>I'm trying to render text with dompdf. It should look exactly like in the browser. That works, as long as the characters of the words are not formatted:</p>
  
  <p>With HTML like:</p>
  
  <pre><code>&lt;span style="color: #000000; font-family:'opensans'"&gt;
      &lt;p style="font-size: 30.57465524239px;"&gt;
          This Text is a test to show the different behaviour!
      &lt;/p&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p><strong>Browser text without formats</strong></p>
  
  <p><a href="https://i.stack.imgur.com/U96OD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/U96OD.png" alt="enter image description here"></a></p>
  
  <p><strong>dompdf text without formats</strong></p>
  
  <p><a href="https://i.stack.imgur.com/r20TK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/r20TK.png" alt="enter image description here"></a></p>
  
  <p>But if I want to give the characters different styles, with HTML like:</p>
  
  <pre><code>&lt;span style="color: #000000; font-family:'opensans'"&gt;
      &lt;p style="font-size: 30px;"&gt;
          This Text is a test to 
          &lt;span style="color: #800080;"&gt;s&lt;/span&gt;
          &lt;span style="color: #ff0000;"&gt;h&lt;/span&gt;
          &lt;span style="color: #000080;"&gt;o&lt;/span&gt;
          &lt;span style="color: #003300;"&gt;w&lt;/span&gt;  
          &lt;span style="color: #000080;"&gt;t&lt;/span&gt;
          &lt;span style="color: #ff00ff;"&gt;h&lt;/span&gt;
          &lt;span style="color: #ff0000;"&gt;e
              &lt;span style="color: #000000;"&gt;different behaviour!&lt;/span&gt;
          &lt;/span&gt;
      &lt;/p&gt;
  &lt;/span&gt;
  </code></pre>
  
  <p>The browser still displays it like intended:</p>
  
  <p><a href="https://i.stack.imgur.com/vfPB6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vfPB6.png" alt="enter image description here"></a></p>
  
  <p>But dompdf displays it like <code>word-break: break-all;</code> would be active.</p>
  
  <p><a href="https://i.stack.imgur.com/zCVBU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zCVBU.png" alt="enter image description here"></a></p>
  
  <p>I have already tried to add <code>word-break: keep-all;</code> to the surrounding <code>&lt;span&gt;</code> or <code>&lt;p&gt;</code>. I have also tried to surround the words with another <code>&lt;span&gt;</code> or <code>&lt;nobr&gt;</code> element, but that didn't change anything.</p>
  
  <p>So, my question is, how can I get dompdf to keep the normal <code>word-break</code> rules on words with formatted characters?</p>