title: Ignoring tooltip text and only taking text currently displayed with Beautiful Soup
body: <p>I'm trying to get only the showing text from a list, but I keep getting back the linked text tooltip.</p>
  
  <p>How can I change this so that I get </p>
  
  <pre><code>'1/2 lemon, zested'
  </code></pre>
  
  <p>Instead of</p>
  
  <pre><code>'½ lemon, zested Lemon le-monOval in shape, with a pronouced bulge on one end, lemons are one of the most versatile fruits...'
  </code></pre>
  
  <p>The html extract is:</p>
  
  <pre><code>&lt;div class="ingredients-list__content"&gt;&lt;ul class="ingredients-list__group"&gt;&lt;li class="ingredients-list__item" content="225g softened butter" itemprop="ingredients"&gt;225g softened &lt;a class="ingredients-list__glossary-link" data-tooltip-content="#ingredients-glossary &amp;gt; article" data-tooltip-flyout="true" data-tooltip-hide-delay="200" data-tooltip-width="350" href="/glossary/butter"&gt;butter&lt;/a&gt;&lt;span class="ingredients-list__glossary-element" id="ingredients-glossary"&gt;&lt;article class="node node-glossary-item node-teaser node-teaser clearfix main row grid-padding" id="node-261201" role="main"&gt;&lt;div class="node-image"&gt; &lt;a href="/glossary/butter"&gt;&lt;img alt="Butter" height="100" src="//www.bbcgoodfood.com/sites/default/files/styles/bbcgf_thumbnail_search/public/glossary/butter.jpg?itok=WmVkxpe0" title="Butter" width="100"/&gt;&lt;/a&gt;&lt;/div&gt;&lt;h2 class="node-title node-glossary-title"&gt;&lt;a href="/glossary/butter"&gt;Butter&lt;/a&gt;&lt;/h2&gt; &lt;span class="fonetic text-style-alt"&gt;butt-err&lt;/span&gt;&lt;p&gt;Butter is made when lactic-acid producing bacteria are added to cream and churned to make an…&lt;/p&gt; &lt;/article&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="ingredients-list__item" content="225g golden caster sugar" itemprop="ingredients"&gt;225g golden caster sugar&lt;/li&gt;&lt;li class="ingredients-list__item" content="4 large eggs" itemprop="ingredients"&gt;4 large &lt;a class="ingredients-list__glossary-link" data-tooltip-content="#ingredients-glossary--2 &amp;gt; article" data-tooltip-flyout="true" data-tooltip-hide-delay="200" data-tooltip-width="350" href="/glossary/egg"&gt;eggs&lt;/a&gt;&lt;span class="ingredients-list__glossary-element" id="ingredients-glossary--2"&gt;&lt;article class="node node-glossary-item node-teaser node-teaser clearfix main row grid-padding" id="node-252381" role="main"&gt;&lt;div class="node-image"&gt; &lt;a href="/glossary/egg"&gt;&lt;img alt="Eggs" height="100" src="//www.bbcgoodfood.com/sites/default/files/styles/bbcgf_thumbnail_search/public/glossary/eggs.jpg?itok=_1Q-Z6FA" title="The ultimate convenience food, eggs are powerhouses of nutrition, packed with protein and a range of 18 vitamins and minerals" width="100"/&gt;&lt;/a&gt;&lt;/div&gt;&lt;h2 class="node-title node-glossary-title"&gt;&lt;a href="/glossary/egg"&gt;Egg&lt;/a&gt;&lt;/h2&gt; &lt;span class="fonetic text-style-alt"&gt;egg&lt;/span&gt;&lt;p&gt;The ultimate convenience food, eggs are powerhouses of nutrition, packed with protein and a…&lt;/p&gt; &lt;/article&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="ingredients-list__item" content="½ lemon, zested" itemprop="ingredients"&gt;½ &lt;a class="ingredients-list__glossary-link" data-tooltip-content="#ingredients-glossary--3 &amp;gt; article" data-tooltip-flyout="true" data-tooltip-hide-delay="200" data-tooltip-width="350" href="/glossary/lemon"&gt;lemon&lt;/a&gt;, zested&lt;span class="ingredients-list__glossary-element" id="ingredients-glossary--3"&gt;&lt;article class="node node-glossary-item node-teaser node-teaser clearfix main row grid-padding" id="node-259661" role="main"&gt;&lt;div class="node-image"&gt; &lt;a href="/glossary/lemon"&gt;&lt;img alt="Lemon" height="100" src="//www.bbcgoodfood.com/sites/default/files/styles/bbcgf_thumbnail_search/public/glossary/lemon.jpg?itok=fstxl0E6" title="Lemons are one of the most versatile fruits around, and contain a high level of Vitamin C" width="100"/&gt;&lt;/a&gt;&lt;/div&gt;&lt;h2 class="node-title node-glossary-title"&gt;&lt;a href="/glossary/lemon"&gt;Lemon&lt;/a&gt;&lt;/h2&gt; &lt;span class="fonetic text-style-alt"&gt;le-mon&lt;/span&gt;&lt;p&gt;Oval in shape, with a pronouced bulge on one end, lemons are one of the most versatile fruits…&lt;/p&gt; &lt;/article&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="ingredients-list__item" content="1 tsp vanilla extract" itemprop="ingredients"&gt;1 tsp vanilla extract&lt;/li&gt;&lt;li class="ingredients-list__item" content="225g self-raising flour" itemprop="ingredients"&gt;225g self-raising flour&lt;/li&gt;&lt;li class="ingredients-list__item" content="splash of milk" itemprop="ingredients"&gt;splash of &lt;a class="ingredients-list__glossary-link" data-tooltip-content="#ingredients-glossary--4 &amp;gt; article" data-tooltip-flyout="true" data-tooltip-hide-delay="200" data-tooltip-width="350" href="/glossary/milk"&gt;milk&lt;/a&gt;&lt;span class="ingredients-list__glossary-element" id="ingredients-glossary--4"&gt;&lt;article class="node node-glossary-item node-teaser node-teaser clearfix main row grid-padding" id="node-260691" role="main"&gt;&lt;div class="node-image"&gt; &lt;a href="/glossary/milk"&gt;&lt;img alt="" height="100" src="//www.bbcgoodfood.com/sites/default/files/styles/bbcgf_thumbnail_search/public/glossary/milk-resized.jpg?itok=z-tC0wLi" width="100"/&gt;&lt;/a&gt;&lt;/div&gt;&lt;h2 class="node-title node-glossary-title"&gt;&lt;a href="/glossary/milk"&gt;Milk&lt;/a&gt;&lt;/h2&gt; &lt;span class="fonetic text-style-alt"&gt;mill-k&lt;/span&gt;&lt;p&gt;One of the most widely used ingredients, milk is often referred to as a complete food. While cow…&lt;/p&gt; &lt;/article&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="ingredients-list__item" content="Optional fillings of lemon curd, jam, lightly whipped cream" itemprop="ingredients"&gt;Optional fillings of lemon curd, jam, lightly whipped cream&lt;/li&gt;&lt;li class="ingredients-list__item" content="icing sugar for dusting" itemprop="ingredients"&gt;icing sugar for dusting&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;
  </code></pre>
  
  <p>Any ideas? </p>
  
  <pre><code>ingredients = ingredientsBlock.findAll('li', class_='ingredients-list__item')
  
  print(ingredients[3].text)
  </code></pre>