title: jQuery unwrap div within p
body: <p>I'm building a CMS and have a WYSIWYG to enter text; but as formatting is passed over from another document, you sometimes get a random <code>&lt;div&gt;</code> copied over.</p>
  
  <p>So, more often than not, the HTML output for some standard text will look like:</p>
  
  <pre><code>&lt;div class="show-text"&gt;
      &lt;p&gt;In Italo Calvino’s 1985 novel Mr. Palomar, the reader is taken on a journey through mundane but highly individual musings, seen from the perspective of the title character, who takes his name from the famous telescope and observatory. Mr Palomar tries to explain and define his existence by seeking order and reason in his visual and cultural surroundings. Taking the novel as a starting point, this exhibition has developed through close collaboration and discussion between the artists to create a symbiosis between the artworks, the boundaries of which are at times ambiguous.&lt;/p&gt;
      &lt;p&gt;Dylan Shipton’s work re-models the space through large-scale architectural interventions, including a viewing structure that provides an altered view of the other pieces. Shipton’s work will serve as an environmental framework and counter-point for the other works to react with and against. In an extension of her painting practice, Kate Brigden is showing a series of glazed porcelain objects that aim to toy with ideas of vision and perception, suggestive of cosmic concepts. Pippa Gatty’s video projections simulate a landscape and atmosphere, enveloping and interrupting the objects and structures.&lt;/p&gt;
      &lt;p&gt;Palomar is developed from a project initiated at Surface Gallery, Nottingham 2012.&lt;/p&gt;
      &lt;p&gt;&lt;div&gt;&lt;em&gt;‘In identifying a constellation, the decisive proof is to see how it answers&amp;nbsp;&lt;/em&gt;&lt;em&gt;when you call it. More convincing than the matching of distances&amp;nbsp;&lt;/em&gt;&lt;em&gt;and configurations with those marked on the chart is the reply that&amp;nbsp;&lt;/em&gt;&lt;em&gt;the luminous dot gives to the name by which it has been called, its&amp;nbsp;&lt;/em&gt;&lt;em&gt;promptness in responding to that sound, becoming one with it.’ &amp;nbsp;—&amp;nbsp;&lt;/em&gt;Mr.&amp;nbsp;Palomar, Italo Calvino, (Martin Secker &amp;amp; Warburg, 1985)&lt;/div&gt;&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>So, I'm curious to know, using jQuery, how I can unwrap any unwanted <code>&lt;div&gt;</code>s within the <code>&lt;p&gt;</code>s. I thought this would work:</p>
  
  <pre><code>$('.show-content-container .show-text p div').contents().unwrap(); 
  </code></pre>
  
  <p>But it simply removes the p before and after the div.</p>