Show More
@@ -559,13 +559,17 b' def formathtml(blocks):' | |||
|
559 | 559 | out.append('<h%d>%s</h%d>\n' % (level, escape(lines[0]), level)) |
|
560 | 560 | elif btype == 'table': |
|
561 | 561 | table = b['table'] |
|
562 | t = [] | |
|
562 | out.append('<table>\n') | |
|
563 | 563 | for row in table: |
|
564 | l = [] | |
|
564 | out.append('<tr>') | |
|
565 | 565 | for v in row: |
|
566 |
|
|
|
567 | t.append('<tr>%s</tr>\n' % '\n'.join(l)) | |
|
568 |
out.append('< |
|
|
566 | out.append('<td>') | |
|
567 | out.append(escape(v)) | |
|
568 | out.append('</td>') | |
|
569 | out.append('\n') | |
|
570 | out.pop() | |
|
571 | out.append('</tr>\n') | |
|
572 | out.append('</table>\n') | |
|
569 | 573 | elif btype == 'definition': |
|
570 | 574 | openlist('dl', level) |
|
571 | 575 | term = escape(lines[0]) |
General Comments 0
You need to be logged in to leave comments.
Login now