Add text-transform to converter

This commit is contained in:
Kiryl
2022-09-19 17:31:03 +03:00
parent 41f6c5f1a5
commit d76f847dee
2 changed files with 3 additions and 0 deletions

View File

@@ -119,6 +119,7 @@ class LiveCartaConfig:
"font-style": ["italic"], # <i>
"text-decoration": ["underline", "line-through"], # <u> , <s>
"text-decoration-line": ["underline", "line-through"], # <u> , <s>
"text-transform": [],
"vertical-align": ["super"], # <sup>
"color": [],
"background-color": [],
@@ -136,4 +137,5 @@ class LiveCartaConfig:
"margin-left": [],
"margin-top": [],
"margin": [],
}

View File

@@ -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,