1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-29 09:31:11 -05:00
forgejo/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