title: Word break on whitespace pre
body: <p>Is there a solution to use <code>word-break</code> on <code>white-space: pre</code>?</p>
  
  <p>I got a list like this, all came from <code>data base</code>, and I can't change it to <code>ul li</code>, but I want to show up like that so I then used <code>white-space: pre</code>, but it does not break words.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>td {
      white-space: pre;
      word-break: break-word;
  }
  
  table {
      width: 100px;
      border: 1px solid black;
      display: block;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;table&gt;
  &lt;tr&gt;&lt;th&gt;list&lt;/th&gt;
  &lt;td&gt;
  1.testtesttesttesttesttesttesttesttest
  2.hihihihihihihihihihihihihihihihihihi
  3.hurayhurayhurayhurayhurayhurayhuray
  4.testtesttesttesttesttesttesttesttest
  &lt;/td&gt;
  &lt;/tr&gt;
  &lt;/table&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Or use something like <code>white-space: pre</code> to break each item to new line with breaking words?</p>