Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid infinite loop when highlighting an empty input #14165

Merged
merged 2 commits into from Jan 18, 2022

Commits on Jan 17, 2022

  1. Update index.ts

    fix(highlight): When s is an empty string, highlight will die cycle
    blankPen committed Jan 17, 2022
    Copy the full SHA
    3bc56e2 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2022

  1. Minor stylistic update

    nicolo-ribaudo committed Jan 18, 2022
    Copy the full SHA
    2e7d97f View commit details
    Browse the repository at this point in the history