title: how to assign some section of a html code that has ' (single quotation) and "(double quotation)
body: <p>I want to assign section of the html to javascript variabled named <code>content</code>,below is the html that I want to assign:</p>
  
  <pre><code>&lt;div class="post"&gt;
      &lt;div&gt;
          &lt;div class="left-up-image" &gt;&lt;img src="{% static 'social/images/pin.png' %}"&gt;&lt;/div&gt;
          &lt;div class="right-up-image" &gt;&lt;img src="{% static 'social/images/pin.png' %}"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="mainPost"&gt;
          &lt;p &gt;stuff&lt;/p&gt;
      &lt;/div&gt;
      &lt;div&gt;
          &lt;div class="left-down-image" &gt;&lt;img src="{% static 'social/images/pin.png' %}"&gt;&lt;/div&gt;
          &lt;div class="right-down-image" style=""&gt;&lt;img src="{% static 'social/images/pin.png' %}"&gt;&lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="friendPostExtra"&gt;
          &lt;div class="likePost"&gt;
              &lt;img class="likeButton" src="{% static 'social/images/like.png' %}"&gt;
              &lt;p&gt;12&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="dislikePost"&gt;
              &lt;img class="dislikeButton" src="{% static 'social/images/dislike.png' %}"&gt;
              &lt;p&gt;12&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="commentPostButton"&gt;
              &lt;p&gt;Comment&lt;/p&gt;
          &lt;/div&gt;
          &lt;div class="sharePostButton"&gt;
              &lt;p&gt;Share&lt;/p&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>I want to <code>prepend</code> this section with jquery when a button clicked.in this section of the html we have both <code>'</code> and <code>"</code> marks and I can't use it as simple string with <code>'</code> or <code>"</code> to the jquery variable.how can I do this ?</p>