1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
gitea/modules/markup/markdown/math
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
..
block_node.go Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
block_parser.go Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
block_renderer.go Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
inline_node.go Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
inline_parser.go Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
inline_renderer.go Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
math.go Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00