(self, data)
| 109 | self.soup.endData(Doctype) |
| 110 | |
| 111 | def unknown_decl(self, data): |
| 112 | if data.upper().startswith('CDATA['): |
| 113 | cls = CData |
| 114 | data = data[len('CDATA['):] |
| 115 | else: |
| 116 | cls = Declaration |
| 117 | self.soup.endData() |
| 118 | self.soup.handle_data(data) |
| 119 | self.soup.endData(cls) |
| 120 | |
| 121 | def handle_pi(self, data): |
| 122 | self.soup.endData() |
nothing calls this directly
no test coverage detected