Skip to content

Commit

Permalink
Update replace-delimiters.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
victorliu5296 committed Sep 25, 2024
1 parent d92f578 commit af57324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions replace-delimiters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ replace_delimiters() {
$content =~ s/(?<!\\)_/\\_/g;
# Only escape rendered curly brackets
$content =~ s/\\left\{/\\left\\\{/g;
$content =~ s/\\right\}/\\right\\\}/g;
$content =~ s/\\left\\\{/\\left\\\\\{/g;
$content =~ s/\\right\\\}/\\right\\\\\}/g;
return $content;
}
Expand Down

0 comments on commit af57324

Please sign in to comment.