title: Wordpress shortcode strips slashes from inline style?
body: <p>I'm having an issue where I'm trying to set the background image of a div using an inline style (to display a featured image from a post).  The shortcode is something like:</p>
  
  <pre><code>[all-systems]
  </code></pre>
  
  <p>And the handling function is something like:</p>
  
  <pre><code>$markup = '';
  
  $img = get_the_thumbnail(...); 
  
  // if I die($img) at this point, I am getting a valid link to my image like
  // http://somedomain.com/wp-content/uploads/2015/03/pic.jpg
  
  $markup .= "&lt;div style='background-image('" . $image . "')&gt;...&lt;/div&gt;";
  
  return $markup;
  </code></pre>
  
  <p>The resulting markup that the shortcode spits out is correct with the exception that the <code>/</code>'s in my <code>background-image</code> url are missing and replaced with spaces. So the background-image literally looks like:</p>
  
  <pre><code>http:  mydomain.com wp-content upload 2015 03 pic.jpg
  </code></pre>
  
  <p>Is this a protection that wordpress is "helping" me with?  Anyway around this?</p>