split a row of text into list of cells.
(self, row, border)
| 74 | c.set('align', a) |
| 75 | |
| 76 | def _split_row(self, row, border): |
| 77 | """ split a row of text into list of cells. """ |
| 78 | if border: |
| 79 | if row.startswith('|'): |
| 80 | row = row[1:] |
| 81 | if row.endswith('|'): |
| 82 | row = row[:-1] |
| 83 | return row.split('|') |
| 84 | |
| 85 | |
| 86 | class TableExtension(markdown.Extension): |
no test coverage detected