little changes in epub_presets.json

This commit is contained in:
Kiryl
2022-09-21 20:11:31 +03:00
parent 6389746081
commit f7a37b132f

View File

@@ -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"
}
]
}