Support special blocks in compare.

This commit is contained in:
Tom Alexander 2023-08-31 19:04:44 -04:00
parent 5171326d63
commit 7a903acedc
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -737,7 +737,7 @@ fn compare_greater_block<'s>(
let emacs_name = match rust.name.to_lowercase().as_str() { let emacs_name = match rust.name.to_lowercase().as_str() {
"center" => "center-block", "center" => "center-block",
"quote" => "quote-block", "quote" => "quote-block",
_ => todo!(), _ => "special-block",
}; };
if assert_name(emacs, emacs_name).is_err() { if assert_name(emacs, emacs_name).is_err() {
this_status = DiffStatus::Bad; this_status = DiffStatus::Bad;