Skip to content

Commit

Permalink
Fix incorrect variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Sep 5, 2024
1 parent ab22a57 commit 210a0be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/text_modifications.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ where

pub fn escape_leading_special_characters<'a>(
t: &'a str,
is_in_block_quote: bool,
is_in_code_block: bool,
options: &Options<'a>,
) -> Cow<'a, str> {
if is_in_block_quote || t.is_empty() {
if is_in_code_block || t.is_empty() {
return Cow::Borrowed(t);
}

Expand Down

0 comments on commit 210a0be

Please sign in to comment.