code: def delete_quotation_tags(html_note, counter, quotation_checkpoints):
      
      tag_in_quotation = True
  
      if quotation_checkpoints[counter]:
          html_note.text = ''
      else:
          tag_in_quotation = False
      counter += 1
  
      quotation_children = []  # Children tags which are in quotation.
      for child in html_note.iterchildren():
          counter, child_tag_in_quotation = delete_quotation_tags(
              child, counter,
              quotation_checkpoints
          )
          if child_tag_in_quotation:
              quotation_children.append(child)
  
      if quotation_checkpoints[counter]:
          html_note.tail = ''
      else:
          tag_in_quotation = False
      counter += 1
  
      if tag_in_quotation:
          return counter, tag_in_quotation
      else:
          # Remove quotation children.
          for child in quotation_children:
              html_note.remove(child)
          return counter, tag_in_quotation
docs: Deletes tags with quotation checkpoints from html tree.