title: Convert HTML to a proper plain text?
body: <p>is there any way I can convert HTML into proper plain text? I tried everything from raw to sanitize and even the Mail gem with it's text_part method which is supposed to do exactly that but doesn't work for me.</p>
  
  <p>My best shot so far was <code>strip_tags(strip_links(resource.body))</code> but <code>&lt;p&gt;</code>, <code>&lt;ul&gt;</code> etc. were not correctly converted.</p>
  
  <p>This is more or less what I have in HTML:</p>
  
  <pre><code>Hello
  
  This is some text. Blah blah blah.
  
  Address:
  John Doe
  10 ABC Street
  Whatever City
  
  New Features
  - Feature A
  - Feature B
  - Feature C
  Check this out: http://www.google.com
  
  Best,
  Admin
  </code></pre>
  
  <p>which converts to something like</p>
  
  <pre><code>Hello
  This is some text. Blah blah blah.
  Address: John Doe 10 ABC Street Whatever City
  
  New Features Feature A Feature B Feature C
  Check this out: http://www.google.com
  
  Best, Admin
  </code></pre>
  
  <p>Any idea?</p>