add option to generate html from plain body part when adding disclaimer

This commit is contained in:
2022-01-04 14:44:16 +01:00
parent c78ab55e98
commit fc6af6eed0
2 changed files with 27 additions and 8 deletions

View File

@@ -170,7 +170,8 @@ class AddDisclaimerConfig(BaseConfig):
"action": {"type": "string"},
"html_template": {"type": "string"},
"text_template": {"type": "string"},
"error_policy": {"type": "string", "default": "wrap"}}}
"error_policy": {"type": "string", "default": "wrap"},
"add_html_body": {"type": "boolean", "default": False}}}
class RewriteLinksConfig(BaseConfig):