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

Prevent panic in Org mode HighlightCodeBlock #17140

Merged
merged 3 commits into from
Sep 24, 2021

Commits on Sep 24, 2021

  1. Prevent panic in Org mode HighlightCodeBlock

    When rendering source in org mode there is a mistake in the highlight code that
    causes a panic.
    
    This PR fixes this.
    
    Fix go-gitea#17139
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    40821e2 View commit details
    Browse the repository at this point in the history
  2. remove unnecessary check.

    zeripath committed Sep 24, 2021
    Configuration menu
    Copy the full SHA
    de7a869 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    87b0d63 View commit details
    Browse the repository at this point in the history