title: stripping tags from excerpt in Wordpress is not working
body: <p>I am using this snippet</p>
  
  <pre><code>&lt;a href='&lt;?php the_permalink() ?&gt;' title='&lt;?php echo strip_tags(the_excerpt()); ?&gt;
  </code></pre>
  
  <p>with which I am intending to remove all <code>ellipses</code>, <code>&lt;p&gt;</code> tags and other <code>shortcodes</code> and <code>links</code>, but that does not work at all.</p>
  
  <p>If I hover the anchor, I am still getting to see the <code>&lt;p&gt;</code> wrapped in the excerpt, as well as other tags and the url links. What am I doing wrong and what do I have to do to get it working?</p>