title: Ckeditor breaking a tag into two
body: <p>When I am trying to copy paste below html into ckeditor it's breaking <code>a</code> tag into two</p>
  
  <p><strong>Original Content</strong></p>
  
  <pre><code>&lt;figure class="img-caption" style="width: 259px; margin-right: 6px;"&gt;
      &lt;a class="wrapper" href="/in/software-defined-datacenter/index.html" target="_top" name="&amp;amp;lpos=product : 37"&gt;
           &lt;img src="/files/images/topics/carousel/vmw-crsl-software-defined-data-center.jpg" alt="Software-Defined Data Center" title=""&gt;
           &lt;figcaption class="semi-transparent"&gt;
               &lt;p&gt;Software-Defined Data Center&lt;/p&gt;
           &lt;/figcaption&gt;
     &lt;/a&gt;
  &lt;/figure&gt;
  </code></pre>
  
  <p><strong>Content after pasting</strong></p>
  
  <pre><code>&lt;figure style="...."&gt;
      &lt;a style="..."&gt;
          &lt;img data-cke-saved-src="random.jpg" src="randowm.jpg" style="..."&gt;
      &lt;/a&gt;
      &lt;figcaption style="..."&gt;
          &lt;p style="...."&gt;
              &lt;a style="...."&gt;Software-Defined Data Center&lt;/a&gt;
          &lt;/p&gt;
      &lt;/figcaption&gt;
  &lt;/figure&gt;
  </code></pre>
  
  <p><em>I have omitted styles in pasted content for better readability.</em></p>
  
  <p>As you can see ckeditor is generating one extra <code>a</code> tag after pasting. Is there any way I can avoid ckeditor generating a new <code>a</code> tags.</p>
  
  <p>My configuration is </p>
  
  <pre><code>config.pasteFilter = {
      $1: {
          elements:CKEDITOR.dtd,
          styles: true
      },
      'img': {
          attributes: '!src',
          styles: true
      }
  };
  </code></pre>
  
  <p>I don't have any configuration in <code>config.allowedContent</code></p>