Commits

Radomir Dopieralski  committed 576c2b4

fix special case with numbered lists, thanks to Ben

  • Participants
  • Parent commits 3cf37b6

Comments (0)

Files changed (1)

File hatta/parser.py

                 in_ul = True
                 level += 1
             while nest < level:
-                yield '</li></ul>'
+                yield '</li></%s>' % kind
                 in_ul = False
                 level -= 1
             if nest == level and not in_ul: