title: Removing inline styles from JSON response using javascript
body: <p>I'm using JSON to receive content from a Wordpress website and display it on my mobile app. The JSON response I'm receiving has some inline styles within it that I don't need. I do however like to keep the actual html structure. Is this something that I can do with Javascript/jQuery?</p>
  
  <p>For example, I like this: </p>
  
  <pre><code>&lt;span style="color: red;"&gt;some text&lt;/span&gt;
  &lt;p style="text-align: right;"&gt;Other stuff&lt;/p&gt;
  </code></pre>
  
  <p>Turn to this: </p>
  
  <pre><code>&lt;span&gt;some text&lt;/span&gt;
  &lt;p&gt;other stuff&lt;/p&gt;
  </code></pre>