diff options
author | silverwind <me@silverwind.io> | 2022-11-17 02:04:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-17 09:04:09 +0800 |
commit | c144942b23eb6e05a60526cc6d2b88b488ca75dd (patch) | |
tree | 7efc6f04142231c60855844286a76f01936e7b4b /routers/common/repo.go | |
parent | 92dd24716d22bbb849365605a13b94e8897d06fd (diff) | |
download | gitea-c144942b23eb6e05a60526cc6d2b88b488ca75dd.tar.gz gitea-c144942b23eb6e05a60526cc6d2b88b488ca75dd.zip |
Tweak katex options (#21828)
- Render directly into DOM, skipping string conversion
- Add limiting options to prevent excessive size/macros
- Remove invalid `display` option previously passed
Ref: https://katex.org/docs/options.html
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Diffstat (limited to 'routers/common/repo.go')
0 files changed, 0 insertions, 0 deletions