forgejo/modules/markup
Sandro Santilli 52c2e82813
Custom regexp external issues (#17624)
* Implement custom regular expression for external issue tracking.

Signed-off-by: Alexander Beyn <malex@fatelectrons.org>

* Fix syntax/style

* Update repo.go

* Set metas['regexp']

* gofmt

* fix some tests

* fix more tests

* refactor frontend

* use LRU cache for regexp

* Update modules/markup/html_internal_test.go

Co-authored-by: Alexander Beyn <malex@fatelectrons.org>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2022-06-10 13:39:53 +08:00
..
common
console Add support for rendering terminal output with colors (#19497) 2022-06-09 00:46:39 +03:00
csv
external
markdown
mdstripper
orgmode
camo.go
camo_test.go
html.go Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
html_internal_test.go Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
html_test.go
renderer.go Add support for rendering terminal output with colors (#19497) 2022-06-09 00:46:39 +03:00
renderer_test.go
sanitizer.go
sanitizer_test.go