diff --git a/src/livecarta_config.py b/src/livecarta_config.py index 9ae2d40..8f1dc24 100644 --- a/src/livecarta_config.py +++ b/src/livecarta_config.py @@ -119,6 +119,7 @@ class LiveCartaConfig: "font-style": ["italic"], # "text-decoration": ["underline", "line-through"], # , "text-decoration-line": ["underline", "line-through"], # , + "text-transform": [], "vertical-align": ["super"], # "color": [], "background-color": [], @@ -136,4 +137,5 @@ class LiveCartaConfig: "margin-left": [], "margin-top": [], "margin": [], + } diff --git a/src/style_reader.py b/src/style_reader.py index 9810caf..08b0809 100644 --- a/src/style_reader.py +++ b/src/style_reader.py @@ -22,6 +22,7 @@ class StyleReader: "font": lambda x: "", "font-family": lambda x: x, "font-size": self.convert_tag_style_values, + "text-transform": lambda x: x, "color": self.get_text_color, "background-color": self.get_bg_color, "background": self.get_bg_color,