forked from LiveCarta/BookConverter
Add text-transform to converter
This commit is contained in:
@@ -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": [],
|
||||
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user