diff --git a/src/formatitko/html_generator.py b/src/formatitko/html_generator.py index f4d2e5d..23b540c 100644 --- a/src/formatitko/html_generator.py +++ b/src/formatitko/html_generator.py @@ -343,6 +343,9 @@ class HTMLGenerator(OutputGenerator): def generate_DefinitionList(self, e: DefinitionList): self.writeln("") + + def generate_SmallCaps(self, e: SmallCaps): + self.generate_simple_tag(e, attributes=self.common_attributes(e) | {"style": "font-variant: small-caps;"}) class StandaloneHTMLGenerator(HTMLGenerator):