diff --git a/src/formatitko/html_generator.py b/src/formatitko/html_generator.py index f4d2e5d..7a5e6e3 100644 --- a/src/formatitko/html_generator.py +++ b/src/formatitko/html_generator.py @@ -344,6 +344,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): def generate_Doc(self, e: Doc):