diff options
| author | SavagePeanut <sourcehut@lazytapir.com> | 2023-08-24 16:09:16 -0500 |
|---|---|---|
| committer | SavagePeanut <sourcehut@lazytapir.com> | 2023-08-24 16:09:16 -0500 |
| commit | 2a88ed30e27f25bed0b72bf5b31aa59b83f2b1d7 (patch) | |
| tree | 87af3a2cc3fcbe4813d73b454616e81fac0438d7 /src | |
| parent | 19a087d08d6024a59ad943bfee3086a6710b9278 (diff) | |
fix codeblocks, again
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -295,7 +295,7 @@ fn seek_end_block(chars: &Vec<char>, keyword: char, start: usize, end: usize, de if i + 1 + depth > end { return Some(i); } - if i + 4 + depth > end + if seek_end_of_line(chars, i + 1, end) == i + depth + 4 && chars[i + 1..i + 1 + depth].iter().all(|&c| QUOTE_KEYWORDS.contains(&c)) && chars[i + 1 + depth] == keyword && is_char_repeating(chars, keyword, 2, i + 1 + depth, end) |
