gitea/modules/markup
charles f0033051d5
Fix markdown preview $$ support (#31514)
close #31481

currently `$$A + B$$ test` will ignore text after $$ block

test text

![圖片](https://github.com/go-gitea/gitea/assets/30816317/39b2974b-c0b6-48a0-87d0-5f4a13615eed)

before fix

![圖片](https://github.com/go-gitea/gitea/assets/30816317/15469e4c-474d-4128-b46f-d6cadaafbd68)

after fix

![圖片](https://github.com/go-gitea/gitea/assets/30816317/c1025eef-177f-4ade-988f-510e7039f3f9)

github display

![圖片](https://github.com/go-gitea/gitea/assets/30816317/97cd1e10-ac94-4899-86d8-8e359ef1d694)
2024-06-29 23:23:47 +00:00
..
asciicast
common
console bump golang deps (#31422) 2024-06-24 13:26:42 +00:00
csv Add `MAX_ROWS` option for CSV rendering (#30268) 2024-06-06 16:06:59 +08:00
external
markdown Fix markdown preview $$ support (#31514) 2024-06-29 23:23:47 +00:00
mdstripper Resolve lint for unused parameter and unnecessary type arguments (#30750) 2024-04-29 08:47:56 +00:00
orgmode fix: rendering internal file links in org (#29669) 2024-03-10 18:30:14 +02:00
camo.go
camo_test.go
html.go Support relative paths to videos from Wiki pages (#31061) 2024-06-21 18:23:54 +00:00
html_codepreview.go Refactor AppURL usage (#30885) 2024-05-07 08:26:13 +00:00
html_codepreview_test.go Render embedded code preview by permlink in markdown (#30234) 2024-04-02 17:48:27 +00:00
html_internal_test.go Fix hash render end with colon (#31319) 2024-06-12 22:35:46 +00:00
html_link.go Fix rendered wiki page link (#31398) 2024-06-18 03:09:20 +00:00
html_node.go Support relative paths to videos from Wiki pages (#31061) 2024-06-21 18:23:54 +00:00
html_test.go Support relative paths to videos from Wiki pages (#31061) 2024-06-21 18:23:54 +00:00
main_test.go Use repo as of renderctx's member rather than a repoPath on metas (#29222) 2024-05-30 07:04:01 +00:00
renderer.go Fix rendered wiki page link (#31398) 2024-06-18 03:09:20 +00:00
renderer_test.go
sanitizer.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00
sanitizer_custom.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00
sanitizer_default.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00
sanitizer_default_test.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00
sanitizer_description.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00
sanitizer_description_test.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00