diff options
| author | Asko Nõmm <asko@nmm.ee> | 2025-01-02 01:30:23 +0200 |
|---|---|---|
| committer | Asko Nõmm <asko@nmm.ee> | 2025-01-02 01:30:23 +0200 |
| commit | 689fe2613765de71101214a482c928cfdb1b2be6 (patch) | |
| tree | 53ff6f9a092caee32e5c600bccf5ee546bd8bc20 /htmtl/attribute_parsers/outer_text.py | |
| parent | 5e08a8b2f9258ae1f0aca7e3ad044b6360e07458 (diff) | |
Clean up some naming usages and things
Diffstat (limited to 'htmtl/attribute_parsers/outer_text.py')
| -rw-r--r-- | htmtl/attribute_parsers/outer_text.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/htmtl/attribute_parsers/outer_text.py b/htmtl/attribute_parsers/outer_text.py deleted file mode 100644 index 8e9bead..0000000 --- a/htmtl/attribute_parsers/outer_text.py +++ /dev/null @@ -1,12 +0,0 @@ -from typing import Optional - -from dompa.nodes import Node, TextNode -from ..attribute_parser import AttributeParser - - -class OuterText(AttributeParser): - def traverse(self, node: Node) -> Optional[Node]: - if "outer-text" in node.attributes: - return TextNode(value=self.expression(node.attributes["outer-text"])) - - return node |
