Merge pull request #913 from RumovZ/fix-write-template
Fix ordinal case in write_template
This commit is contained in:
commit
4ba4e8ca78
@ -149,7 +149,7 @@ fn write_single_field(field: &str, text: &str, is_re: bool) -> String {
|
||||
|
||||
fn write_template(template: &TemplateKind) -> String {
|
||||
match template {
|
||||
TemplateKind::Ordinal(u) => format!("\"card:{}\"", u),
|
||||
TemplateKind::Ordinal(u) => format!("\"card:{}\"", u + 1),
|
||||
TemplateKind::Name(s) => format!("\"card:{}\"", s),
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user