title: Parse text divided by <br> but not inside <span>
body: <p>I can't figure out how to parse this type of data:</p>
  
  <pre><code>&lt;div id="tabs-1" class="ui-tabs-panel ui-widget-content ui-corner-bottom"&gt;
  
  
  
              &lt;strong&gt;&lt;span itemprop="name"&gt;MOS-SCHAUM&lt;/span&gt;&lt;/strong&gt;&lt;br&gt;
          &lt;span itemprop="description"&gt;Antistatická pena čierna na IO 300x300x6mm&lt;/span&gt;
  
  
          &lt;br&gt;RoHS: Áno           
          &lt;br&gt;Obj.číslo: 13291&lt;br&gt;
  
  
  
          &lt;/div&gt;
  </code></pre>
  
  <p>There can be many <code>&lt;span&gt;</code> tags inside the snippet - I don't want to get them. I want only those, which are not inside <code>&lt;span&gt;</code> tags. </p>
  
  <p>So the result would be:</p>
  
  <pre><code>{'RoHS':'Áno',
   'Obj.číslo': '13291'}
  </code></pre>
  
  <p>I was considering <code>.contents</code> but it's a very unpredictable which elements will be on which index.</p>
  
  <p>Do you know how to do that?</p>
  
  <p>EDIT: 
  Even if I try this:</p>
  
  <pre><code>detail_table = soup.find('div',id="tabs-1")                              
  itemprops = detail_table.find_all('span',itemprop=re.compile('.+'))      
  for item in itemprops:                                                   
      data[item['itemprop']]=item                                          
  
  contents = detail_table.contents[-1].contents[-1].contents[-1].contents
  
  for i,c in enumerate(contents):
  print c                    
  print '---'   
  </code></pre>
  
  <p>I get this:            </p>
  
  <pre><code>RoHS: Áno           
                                   # 1st element
  ---
  &lt;br&gt;Obj.Ä�Ã­slo: 68664&lt;br&gt;
  &lt;/br&gt;&lt;/br&gt;                        # 2st element
  ---
  </code></pre>
  
  <p>EDIT2: I've just find out one solution but it's not very nice. There must be a more elegant solution:</p>
  
  <pre><code>def get_data(url):                                                                 
      data = {}                                                                      
      soup = get_soup(url)                                                           
  
      """ TECHNICAL INFORMATION """                                                  
      tech_par_table = soup.find('div',id="tabs-2")                                  
      trs = tech_par_table.find_all('tr')                                            
      for tr in trs:                                                                 
          tds = tr.find_all('td')                                                    
          parameter = tds[0].text                                                    
          value = tds[1].text                                                        
          data[parameter]=value                                                      
  
      """ DETAIL """                                                                 
      detail_table = soup.find('div',id="tabs-1")                                    
      itemprops = detail_table.find_all('span',itemprop=re.compile('.+'))            
      for item in itemprops:                                                         
          data[item['itemprop'].replace('\n','').replace('\t','').strip()]=item.text.
  
      contents = detail_table.contents[-1].contents[-1].contents[-1].contents        
  
      for i,c in enumerate(contents):                                                
          if isinstance(c,bs4.element.NavigableString):                              
              splitted = c.split(':')                                                
              data[splitted[0]]=splitted[1].replace('\n','').replace('\t','').strip()
          if isinstance(c,bs4.element.Tag):                                          
              splitted = c.text.split(':')                                           
              data[splitted[0]]=splitted[1].replace('\n','').replace('\t','').strip()
  </code></pre>