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