split a row of text into list of cells.
(self, row: str)
| 145 | c.set('style', f'text-align: {a};') |
| 146 | |
| 147 | def _split_row(self, row: str) -> list[str]: |
| 148 | """ split a row of text into list of cells. """ |
| 149 | if self.border: |
| 150 | if row.startswith('|'): |
| 151 | row = row[1:] |
| 152 | row = self.RE_END_BORDER.sub('', row) |
| 153 | return self._split(row) |
| 154 | |
| 155 | def _split(self, row: str) -> list[str]: |
| 156 | """ split a row of text with some code into a list of cells. """ |
no test coverage detected