Skip to content

Commit

Permalink
chore: add missing symbol (#2641)
Browse files Browse the repository at this point in the history
Signed-off-by: xixishidibei <xixishidibei@outlook.com>
  • Loading branch information
xixishidibei authored Sep 18, 2024
1 parent 481135f commit 45c558d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/markdown/src/shortcode/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn extract_shortcodes(
if let Some(def) = definitions.get(&sc.name) {
sc.tera_name = def.tera_name.clone();
} else {
return Err(Error::msg(format!("Found usage of a shortcode named `{}` but we do not know about. Make sure it's not a typo and that a field name `{}.{{html,md}} exists in the `templates/shortcodes` directory.", sc.name, sc.name)));
return Err(Error::msg(format!("Found usage of a shortcode named `{}` but we do not know about. Make sure it's not a typo and that a field name `{}.{{html,md}}` exists in the `templates/shortcodes` directory.", sc.name, sc.name)));
}
}

Expand Down

0 comments on commit 45c558d

Please sign in to comment.