forgejo/modules/markup/markdown
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
..
math Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
ast.go
convertyaml.go Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
goldmark.go Add KaTeX rendering to Markdown. (#20571) 2022-09-14 00:33:37 +08:00
markdown.go Upgrade chroma to v2.3.0 (#21259) 2022-09-26 13:50:03 +08:00
markdown_test.go Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
meta.go Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
meta_test.go Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
renderconfig.go Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
renderconfig_test.go Fix slight bug in katex (#21171) 2022-10-05 19:55:36 +01:00
toc.go