mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-29 02:44:08 -05:00
e428231b38
- 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 |
||
---|---|---|
.. | ||
callout | ||
math | ||
ast.go | ||
color_util.go | ||
color_util_test.go | ||
convertyaml.go | ||
goldmark.go | ||
markdown.go | ||
markdown_test.go | ||
meta.go | ||
meta_test.go | ||
renderconfig.go | ||
renderconfig_test.go | ||
toc.go |