Support special blocks in compare.
This commit is contained in:
parent
5171326d63
commit
7a903acedc
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user