forked from LiveCarta/BookConverter
Add abil. to replace value of attributes in presets
This commit is contained in:
@@ -81,11 +81,17 @@
|
||||
"preset_name": "attr_replacer",
|
||||
"rules": [
|
||||
{
|
||||
"attr": "xlink:href",
|
||||
"attr": {
|
||||
"name": "xlink:href",
|
||||
"value": ".*"
|
||||
},
|
||||
"condition": {
|
||||
"tags": ["^img$"]
|
||||
},
|
||||
"attr_to_replace": "src"
|
||||
"attr_to_replace": {
|
||||
"name": "src",
|
||||
"value": null
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user