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

Diff lexer - add extra check for catching duplicate lines #1532

Merged
merged 1 commit into from Jun 3, 2020

Commits on Jun 2, 2020

  1. Diff - add extra check for catching duplicate lines

    As described in rouge-ruby#1531, the Diff lexer was catching
    lines that started with either --- or +++ however
    that includes two consecutive --- lines, or two
    +++ lines.
    
    This extra checks considers just the two combos,
    either ---/+++ or +++/---.
    ci committed Jun 2, 2020
    Configuration menu
    Copy the full SHA
    a2afefa View commit details
    Browse the repository at this point in the history