title: How to append a tag after a link with BeautifulSoup
body: <p>Starting from an Html input like this:</p>
  
  <pre><code>&lt;p&gt;
  &lt;a href="http://www.foo.com"&gt;this if foo&lt;/a&gt;
  &lt;a href="http://www.bar.com"&gt;this if bar&lt;/a&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>using BeautifulSoup, i would like to change this Html in:</p>
  
  <pre><code>&lt;p&gt;
  &lt;a href="http://www.foo.com"&gt;this if foo&lt;/a&gt;&lt;b&gt;OK&lt;/b&gt;
  &lt;a href="http://www.bar.com"&gt;this if bar&lt;/a&gt;&lt;b&gt;OK&lt;/b&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>Is it possible to do this using BeautifulSoup? </p>
  
  <p>Something like:</p>
  
  <pre><code>from BeautifulSoup import BeautifulSoup
  soup = BeautifulSoup(html)
  for link_tag in soup.findAll('a'):
      link_tag = link_tag + '&lt;b&gt;OK&lt;/b&gt;' #This obviously does not work
  </code></pre>