Bootstrap 4 spacing in tables
<p>There is a gap between elements of an input group, if put into a table.</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-html lang-html prettyprint-override"><code>&lt;link href="https://rawgit.com/twbs/bootstrap/v4-dev/dist/css/bootstrap.css" rel="stylesheet"/&gt;
&lt;p&gt;This is fine&lt;/p&gt;
&lt;div class="row"&gt;
  &lt;div class="col-xs-4"&gt;
    &lt;div class="input-group"&gt;
      &lt;div class="input-group-addon"&gt;a&lt;/div&gt;
      &lt;div class="input-group-addon"&gt;b&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;

&lt;table&gt;
  &lt;tr&gt;
    &lt;td&gt;There is a gap between spans in tables&lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
    &lt;td&gt;
      &lt;div class="input-group"&gt;
        &lt;div class="input-group-addon"&gt;a&lt;/div&gt;
        &lt;div class="input-group-addon"&gt;b&lt;/div&gt;
      &lt;/div&gt;
    &lt;/td&gt;
  &lt;/tr&gt;
&lt;/table&gt;</code></pre>
</div>
</div>
</p>

<p>How can I get rid of this gap?</p>