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 environments for KaTeX and error reporting (#22453) #22473

Merged
merged 1 commit into from
Jan 16, 2023

Commits on Jan 16, 2023

  1. Fix environments for KaTeX and error reporting (go-gitea#22453)

    Backport go-gitea#22453
    
    In go-gitea#22447 it was noticed that display environments were not working
    correctly. This was due to the setting displayMode not being set.
    
    Further it was noticed that the error was not being displayed correctly.
    
    This PR fixes both of these issues by forcibly setting the displayMode
    setting and corrects an error in displayError.
    
    Fix go-gitea#22447
    
    Signed-off-by: Andrew Thornton <art27@cantab.net>
    zeripath committed Jan 16, 2023
    Configuration menu
    Copy the full SHA
    6d7f839 View commit details
    Browse the repository at this point in the history