forgejo/modules/markup
Gusted 7067cc7da4
fix: strict matching of allowed content for sanitizer
- _Simply_ add `^$` to regexp that didn't had it yet, this avoids any
content being allowed that simply had the allowed content as a
substring.
- Fix file-preview regex to have `$` instead of `*`.
2024-11-15 10:59:36 +01:00
..
asciicast
common
console Construct screen 2024-09-06 20:24:51 +02:00
csv
external
markdown Merge pull request '[gitea] week 2024-45 cherry pick (gitea/main -> forgejo)' (#5789) from algernon/wcp/2024-45 into forgejo 2024-11-06 08:57:43 +00:00
mdstripper chore: fix deprecation 2024-11-02 16:39:27 +01:00
orgmode
tests/repo/repo1_filepreview fix: include last line in file previews with no trailing newline 2024-08-24 17:10:31 -06:00
camo.go Use camo.Always instead of camo.Allways (#32097) 2024-09-27 08:45:55 +02:00
camo_test.go Use camo.Always instead of camo.Allways (#32097) 2024-09-27 08:45:55 +02:00
file_preview.go fix: include last line in file previews with no trailing newline 2024-08-24 17:10:31 -06:00
html.go feat: Add partial quoting 2024-10-26 19:15:43 +02:00
html_internal_test.go fix: improve PR/issue short link display text 2024-08-22 15:49:05 -06:00
html_test.go feat: Add partial quoting 2024-10-26 19:15:43 +02:00
renderer.go
renderer_test.go
sanitizer.go fix: strict matching of allowed content for sanitizer 2024-11-15 10:59:36 +01:00
sanitizer_test.go feat: Add partial quoting 2024-10-26 19:15:43 +02:00