(self, text)
| 1999 | self.pieces.append('&%s' % ref) |
| 2000 | |
| 2001 | def handle_data(self, text): |
| 2002 | # called for each block of plain text, i.e. outside of any tag and |
| 2003 | # not containing any character or entity references |
| 2004 | # Store the original text verbatim. |
| 2005 | self.pieces.append(text) |
| 2006 | |
| 2007 | def handle_comment(self, text): |
| 2008 | # called for each HTML comment, e.g. <!-- insert Javascript code here --> |
no test coverage detected