Process unordered list blocks.
| 443 | |
| 444 | |
| 445 | class UListProcessor(OListProcessor): |
| 446 | """ Process unordered list blocks. """ |
| 447 | |
| 448 | TAG: str = 'ul' |
| 449 | """ The tag used for the the wrapping element. """ |
| 450 | |
| 451 | def __init__(self, parser: BlockParser): |
| 452 | super().__init__(parser) |
| 453 | # Detect an item (`1. item`). `group(1)` contains contents of item. |
| 454 | self.RE = re.compile(r'^[ ]{0,%d}[*+-][ ]+(.*)' % (self.tab_length - 1)) |
| 455 | |
| 456 | |
| 457 | class HashHeaderProcessor(BlockProcessor): |
no outgoing calls
no test coverage detected
searching dependent graphs…