title: get innerText with jQuery instead of innerHTML
body: <p>I have a figcaption and i would like the text from it.
  This is what it looks like in the element inspector in chrome.
  For some reason the 'innerHTML' starts with a return and then a lot of spaces. The 'innerText' however looks good so i'm interested in that.</p>
  
  <p><img src="https://i.stack.imgur.com/Zym4z.png" alt="enter image description here"></p>
  
  <p>Online I see I have to use the <code>text()</code> method to get the innerText but it seems to give the innerHTML:</p>
  
  <pre><code>console.log("-"+$(this).find("figcaption").text()+"-");
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/zu2Nm.png" alt="enter image description here"></p>
  
  <p>So how can I get to the innerText?</p>