forked from LiveCarta/BookConverter
little changes in epub_presets.json
This commit is contained in:
@@ -46,14 +46,14 @@
|
||||
"preset_name": "replacer",
|
||||
"rules": [
|
||||
{
|
||||
"tags": ["^h[6-9]$", "^figure$", "^section$", "^div$"],
|
||||
"tags": ["^h[6-9]$", "^figure$", "^section$", "^div$", "blockquote"],
|
||||
"condition": null,
|
||||
"tag_to_replace": "p"
|
||||
},
|
||||
{
|
||||
"tags": ["^aside$"],
|
||||
"condition": null,
|
||||
"tag_to_replace": "blockquote"
|
||||
"tag_to_replace": "div"
|
||||
},
|
||||
{
|
||||
"tags": ["^header$", "^footer$"],
|
||||
@@ -69,6 +69,11 @@
|
||||
},
|
||||
"tag_to_replace": "span"
|
||||
},
|
||||
{
|
||||
"tags": ["^em$"],
|
||||
"condition": null,
|
||||
"tag_to_replace": "i"
|
||||
},
|
||||
{
|
||||
"tags": ["^b$"],
|
||||
"condition": null,
|
||||
@@ -105,6 +110,7 @@
|
||||
{
|
||||
"tags": [
|
||||
"^section$",
|
||||
"^blockquote$",
|
||||
"^article$",
|
||||
"^figcaption$",
|
||||
"^main$",
|
||||
@@ -135,6 +141,11 @@
|
||||
"attrs": null
|
||||
},
|
||||
"tag_to_insert": "code"
|
||||
},
|
||||
{
|
||||
"tags": ["^h[1-5]$"],
|
||||
"condition": null,
|
||||
"tag_to_insert": "strong"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user