Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix environments for KaTeX and error reporting
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>
- Loading branch information