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

fix(elixir) Support function names with a slash #2406

Merged
merged 3 commits into from Feb 17, 2020

Commits on Feb 17, 2020

  1. fix(elixir) Support function names with a slash

    - Do not mistakenly recognize `/:` as the beginning of a regex,
      which causes highlighting to abort.
    - `/:`, `+:`, are still not considered symbols
    
    This solves the problem by making the `/: \d` an exception case that is
    never treated as a regex.  For most cases, most of the time this should
    be a win.
    
    Resolves highlightjs#730.
    joshgoebel committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    0848440 View commit details
    Browse the repository at this point in the history
  2. add pr #

    joshgoebel committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    23d76d0 View commit details
    Browse the repository at this point in the history
  3. tests

    joshgoebel committed Feb 17, 2020
    Configuration menu
    Copy the full SHA
    697445b View commit details
    Browse the repository at this point in the history