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])
| 353 | """ The tag of the rendered element. """ |
| 354 | |
| 355 | def handleMatch(self, m: re.Match[str]) -> etree.Element: |
| 356 | """ |
| 357 | Return [`Element`][xml.etree.ElementTree.Element] of type `tag` with the string in `group(3)` of a |
| 358 | matching pattern as the Element's text. |
| 359 | """ |
| 360 | el = etree.Element(self.tag) |
| 361 | el.text = m.group(3) |
| 362 | return el |
| 363 | |
| 364 | |
| 365 | class SimpleTagInlineProcessor(InlineProcessor): |
nothing calls this directly
no outgoing calls
no test coverage detected