(self, name)
| 88 | self.output += '<?' + data + '>' |
| 89 | self.last = "pi" |
| 90 | def handle_entityref(self, name): |
| 91 | try: |
| 92 | c = chr(name2codepoint[name]) |
| 93 | except KeyError: |
| 94 | c = None |
| 95 | self.output_char(c, '&' + name + ';') |
| 96 | self.last = "ref" |
| 97 | def handle_charref(self, name): |
| 98 | try: |
| 99 | if name.startswith("x"): |
nothing calls this directly
no test coverage detected