forgejo/modules/markup
yp05327 b6e480fcbb
Fix inconsistent rendering of block mathematical expressions (#29677)
Fix #28735

GitHub render `\```math\``` ` as a block now.
Add `display` class will render it as a block.

After:

![image](https://github.com/go-gitea/gitea/assets/18380374/2a1c20c7-438e-4ab1-8c66-cf91c8343087)

![image](https://github.com/go-gitea/gitea/assets/18380374/b81b8a93-8bca-46a5-b7db-e0d2f53e1342)

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
(cherry picked from commit 8fc1a8f0eb642c574610a346e858d42c433ebe01)
2024-03-20 08:46:28 +01:00
..
asciicast
common
console
csv Fix incorrect rendering csv file when file size is larger than UI.CSV.MaxFileSize (#29653) 2024-03-11 23:36:59 +07:00
external
markdown Fix inconsistent rendering of block mathematical expressions (#29677) 2024-03-20 08:46:28 +01:00
mdstripper
orgmode [BUG] Fix relative links on orgmode 2024-02-18 21:09:35 +01:00
camo.go
camo_test.go
html.go
html_internal_test.go
html_test.go Refactor some Str2html code (#29397) 2024-03-06 12:10:44 +08:00
renderer.go
renderer_test.go
sanitizer.go
sanitizer_test.go