(self, text)
| 1920 | self.pieces.append('&%(ref)s' % locals()) |
| 1921 | |
| 1922 | def handle_data(self, text): |
| 1923 | # called for each block of plain text, i.e. outside of any tag and |
| 1924 | # not containing any character or entity references |
| 1925 | # Store the original text verbatim. |
| 1926 | if _debug: sys.stderr.write('_BaseHTMLProcessor, handle_data, text=%s\n' % text) |
| 1927 | self.pieces.append(text) |
| 1928 | |
| 1929 | def handle_comment(self, text): |
| 1930 | # called for each HTML comment, e.g. <!-- insert Javascript code here --> |
no test coverage detected