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