0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 23:33:15 -05:00
forgejo/modules/markup
Gusted 80f22ab0d8
[BUG] Don't color dot literal color names
- Colordots are generated for colors in inline code, such as `red`,
`rgb(255, 0, 124)`, `#ffaabb` and `hsl(124, 52%, 50%)`. However this
shouldn't be doon for literal color names as these can be too common
assiocated with non-color related stuff _and matches the behavior of
some other forge_.
- Move the regexes from bluemonday to Forgejo and do the checking
ourselves.
- Adds unit tests.
- Resolves https://codeberg.org/Codeberg/Community/issues/1510
2024-03-30 14:30:41 +01:00
..
asciicast
common [GITEA] test markdown CleanValue to prevent regression 2024-02-05 16:09:41 +01:00
console
csv Fix some pending problems (#29985) 2024-03-26 19:04:26 +01:00
external Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
markdown [BUG] Don't color dot literal color names 2024-03-30 14:30:41 +01:00
mdstripper
orgmode [BUG] Fix relative links on orgmode 2024-02-18 21:09:35 +01:00
camo.go
camo_test.go
html.go Use relative links for commits, mentions, and issues in markdown (#29427) 2024-03-20 08:46:28 +01:00
html_internal_test.go Use relative links for commits, mentions, and issues in markdown (#29427) 2024-03-20 08:46:28 +01:00
html_test.go Use relative links for commits, mentions, and issues in markdown (#29427) 2024-03-20 08:46:28 +01:00
renderer.go Use relative links for commits, mentions, and issues in markdown (#29427) 2024-03-20 08:46:28 +01:00
renderer_test.go
sanitizer.go Merge pull request '[port] gitea#29833: Refactor markdown attention render' (#2747) from algernon/forgejo:gitea/port/29833/refactor into forgejo 2024-03-23 19:44:45 +00:00
sanitizer_test.go Use restricted sanitizer for repository description (#28141) 2023-11-23 16:34:25 +00:00