OSDN Git Service

Add jumping to the res.
[fukui-no-namari/fukui-no-namari.git] / src / Hage1 / barehtmlparser.py
index 0b8cc68..851702a 100644 (file)
@@ -39,6 +39,7 @@ class BareHTMLParser(HTMLParserEx):
         self.buffer = ""
 
     def reset_func(self, to_out_func):
+        self.flush()
         self.to_out_func = to_out_func
 
     def to_out(self, data):