X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/1d9833e372425e68597e30e2cb85da17e7d57dc1..98a3fbdcedc1b8c4da602b8bb8ee304830a6de1b:/librarian/pyhtml.py?ds=inline diff --git a/librarian/pyhtml.py b/librarian/pyhtml.py index 313f155..f41c583 100644 --- a/librarian/pyhtml.py +++ b/librarian/pyhtml.py @@ -15,6 +15,7 @@ class EduModule(Xmill): def __init__(self, options=None): super(EduModule, self).__init__(options) self.activity_counter = 0 + self.exercise_counter = 0 # text filters def swap_endlines(txt): @@ -28,7 +29,7 @@ class EduModule(Xmill): def handle_strofa(self, element): self.options = {'strofa': True} return "", "" - + def handle_powiesc(self, element): return u"""