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) #17141

Merged
merged 2 commits into from
Sep 24, 2021

Commits on Sep 24, 2021

  1. Prevent panic in Org mode HighlightCodeBlock (go-gitea#17140)

    Backport go-gitea#17140
    
    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
    9a37156 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
    8d845da View commit details
    Browse the repository at this point in the history