(self, tag)
| 42 | self.output += data |
| 43 | self.last = "data" |
| 44 | def handle_endtag(self, tag): |
| 45 | if tag == "pre": |
| 46 | self.in_pre = False |
| 47 | elif self.is_block_tag(tag): |
| 48 | self.output = self.output.rstrip() |
| 49 | self.output += "</" + tag + ">" |
| 50 | self.last_tag = tag |
| 51 | self.last = "endtag" |
| 52 | def handle_starttag(self, tag, attrs): |
| 53 | if tag == "pre": |
| 54 | self.in_pre = True |
nothing calls this directly
no test coverage detected