Return [`Element`][xml.etree.ElementTree.Element] of type `tag` with the string in `group(3)` of a matching pattern as the Element's text.
(self, m: re.Match[str])
| 381 | """ The tag of the rendered element. """ |
| 382 | |
| 383 | def handleMatch(self, m: re.Match[str]) -> etree.Element: |
| 384 | """ |
| 385 | Return [`Element`][xml.etree.ElementTree.Element] of type `tag` with the string in `group(3)` of a |
| 386 | matching pattern as the Element's text. |
| 387 | """ |
| 388 | el = etree.Element(self.tag) |
| 389 | el.text = m.group(3) |
| 390 | return el |
| 391 | |
| 392 | |
| 393 | class SimpleTagInlineProcessor(InlineProcessor): |
nothing calls this directly
no outgoing calls
no test coverage detected