title: Stripping HTML tags in Magento
body: <p>This is probably pretty simple for most...</p>
  
  <p>I have this line in Magento which is part of what posts to Pinterest.</p>
  
  <pre><code>&lt;?php echo urlencode( $_product-&gt;getShortDescription() ) . " $" . urlencode( number_format( $_product-&gt;getPrice(),2 ) ); ?&gt;
  </code></pre>
  
  <p>Somewhere in this, I need to strip tags as the short description uses a WYSIWYG editor and subsequently adds tags to database, I believe what I need to insert to the above is the following (as Magento has this function already):-</p>
  
  <pre><code>$this-&gt;stripTags
  </code></pre>
  
  <p>Please could anyone advise how this can be correctly added to the above without it breaking the page? Let me know if I need to supply anything further.</p>
  
  <p>Thanks in advance.</p>