This commit is contained in:
Kendall Goto 2025-05-16 11:18:15 -04:00 committed by GitHub
commit 5da6d13d1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,6 +131,8 @@ class Chef {
if (!highlights) return false; if (!highlights) return false;
if (direction === "reverse") highlights.reverse();
for (let i = 0; i < highlights.length; i++) { for (let i = 0; i < highlights.length; i++) {
// Remove multiple highlights before processing again // Remove multiple highlights before processing again
pos = [pos[0]]; pos = [pos[0]];