Skip to content

Commit

Permalink
Fix bug in SVS skip
Browse files Browse the repository at this point in the history
  • Loading branch information
tats-u committed Aug 18, 2024
1 parent 8623a17 commit cc42038
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/inlines.c
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ static int scan_delims(subject *subj, unsigned char c, bool *can_open,
}
if (before_char >= 0xfe00 && before_char <= 0xfe02) {
// standard variation selector, go back one more code point:
before_char_pos -= 1;
while (peek_at(subj, before_char_pos) >> 6 == 2 &&
before_char_pos > 0) {
before_char_pos -= 1;
Expand Down

0 comments on commit cc42038

Please sign in to comment.