forked from LiveCarta/BookConverter
Little changes
This commit is contained in:
@@ -30,10 +30,9 @@ class LiveCartaConfig:
|
||||
# Dictionary mapping HTML tags to CSS style attributes that can be contained within them
|
||||
TAGS_TO_STYLE_ATTRS_CAN_BE_IN_TAG = {
|
||||
"^p$": ["text-align", "text-indent", "border-bottom", "border-top", "border-left", "border-right",
|
||||
"background-color"],
|
||||
"background-color", "background"],
|
||||
r"(^h[1-9]$)": ["list-style-type", "border-bottom", "border-top", "border-left", "border-right",
|
||||
"background-color"],
|
||||
"^div$": ["border-bottom", "border-top", "border-left", "border-right", "background-color"],
|
||||
"background-color", "background"],
|
||||
"^li$": ["text-align", "list-style-type"],
|
||||
"^ul$": ["list-style-type"],
|
||||
"^ol$": ["list-style-type"]
|
||||
|
||||
Reference in New Issue
Block a user