1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00
gitea/modules/markup
zeripath 93df41f506
Fix slight bug in katex (#21171)
There is a small bug in #20571 whereby `$a a$b b$` will not be correctly
detected as a math inline block of `a a$b b`. This PR fixes this.

Also reenable test cases as per #21340 

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-10-05 19:55:36 +01:00
..
common Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
console Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
csv Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
external Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
markdown Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
mdstripper Go 1.19 format (#20758) 2022-08-30 21:15:45 -05:00
orgmode Upgrade chroma to v2.3.0 (#21259) 2022-09-26 13:50:03 +08:00
camo_test.go Provide configuration to allow camo-media proxying (#12802) 2022-03-29 10:27:37 +02:00
camo.go Provide configuration to allow camo-media proxying (#12802) 2022-03-29 10:27:37 +02:00
html_internal_test.go Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
html_test.go Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
html.go Use body text color in repository files table links (#20386) 2022-07-22 18:49:24 +08:00
renderer_test.go Should also support upper-case README files (#20581) 2022-08-01 20:15:40 +08:00
renderer.go Should also support upper-case README files (#20581) 2022-08-01 20:15:40 +08:00
sanitizer_test.go Allow to specify colors for text in markup (#20363) 2022-07-15 14:38:10 +08:00
sanitizer.go Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00