146 |
147 |
148 |
149 |
150 |
151 |
152 | |
def add_row(self, lineno, text): |
if text == ['']: |
text = [raw(' ')] |
else: |
text = prepare_line(text, self.tokenizer, self.encoding) |
-> self.tbody.append(html.tr(html.td(str(lineno), class_='lineno'), |
html.td(class_='code', *text))) | |