DKIM record management API

This commit is contained in:
mdecimus
2024-04-04 11:51:47 +02:00
parent 93a2f691ea
commit 3a5ca70365
16 changed files with 564 additions and 141 deletions

View File

@@ -86,7 +86,7 @@ impl CharUtils for char {
pub fn fn_cure_text<'x>(_: &'x Context<'x>, v: Vec<Variable>) -> Variable {
decancer::cure(v[0].to_string().as_ref(), decancer::Options::default())
.map(|s| s.into_str())
.map(String::from)
.unwrap_or_default()
.into()
}