Commits

megaman821  committed 1a4db8e Merge

merge

  • Participants
  • Parent commits 6076067, a454620

Comments (0)

Files changed (2)

File form_extensions/__init__.py

 __version_info__ = {
     'major': 0,
     'minor': 1,
-    'micro': 0,
+    'micro': 1,
     'releaselevel': 'alpha',
     'serial': 3
 }

File form_extensions/utils.py

     for element in doc.cssselect('p'):
         text = element.text_content()
         text = text.strip()
-        if text == '':
+        if text == '' and len(element) == 0:
             element.drop_tree()
     return _tostring(doc)