1. Ed Brannin
  2. holyname-greece.org-converter

Commits

Ed Brannin  committed b7acbcd

Added a coment for next direction.

  • Participants
  • Parent commits d971586
  • Branches default

Comments (0)

Files changed (1)

File soupify.py

View file
  • Ignore whitespace
       next
     #elif tag.nextSibling == None and tag.previousSibling == None:
     elif len(tag.parent.contents) == 1:
+      # TODO: Exclude whitespace-only NavigableStrings.
       print "Only child!"
       if tag.name not in ('html', 'a'):
         for child in tag.contents: