gitea/modules/markup
Giteabot 4bfc43ef8d
Fix inconsistent rendering of block mathematical expressions (#29677) (#29711)
Backport #29677 by @yp05327

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: yp05327 <576951401@qq.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-03-11 10:10:07 +01:00
..
asciicast
common Make user-content-* consistent with github (#26388) 2023-08-09 09:30:31 +00:00
console Add context when rendering labels or emojis (#23281) 2023-03-05 22:59:05 +01:00
csv Fix incorrect rendering csv file when file size is larger than UI.CSV.MaxFileSize (#29653) (#29663) 2024-03-08 09:13:58 +00:00
external Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
markdown Fix inconsistent rendering of block mathematical expressions (#29677) (#29711) 2024-03-11 10:10:07 +01:00
mdstripper
orgmode fix: rendering internal file links in org (#29669) (#29705) 2024-03-10 18:29:17 +01:00
camo_test.go
camo.go
html_internal_test.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
html_test.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
html.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
renderer_test.go
renderer.go Rework markup link rendering (#26745) (#28803) 2024-01-16 02:13:29 +00:00
sanitizer_test.go Render plaintext task list items for markdown files (#26186) 2023-07-27 14:15:31 +00:00
sanitizer.go Render plaintext task list items for markdown files (#26186) 2023-07-27 14:15:31 +00:00