Ignore closing tag for self-closing
(self, tag, attrs)
| 71 | self.last_tag = tag |
| 72 | self.last = "starttag" |
| 73 | def handle_startendtag(self, tag, attrs): |
| 74 | """Ignore closing tag for self-closing """ |
| 75 | self.handle_starttag(tag, attrs) |
| 76 | self.last_tag = tag |
| 77 | self.last = "endtag" |
| 78 | def handle_comment(self, data): |
| 79 | self.output += '<!--' + data + '-->' |
| 80 | self.last = "comment" |
nothing calls this directly
no test coverage detected