forgejo/modules/templates
Gergely Nagy 00b24d2d9a Allow 's in mentions
When mentioning a user in a comment, or a similar place, sometimes one
would wish to use a possessive: `As per @user's suggestion` or somesuch.
This patch modifies the `mentionPattern` used to find mentions, to allow
- and then ignore - apostrophes and whatever comes after them.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-02-27 18:26:59 +00:00
..
eval
scopedtmpl
vars
base.go Replace util.SliceXxx with slices.Xxx (#26958) 2023-09-07 09:37:47 +00:00
dynamic.go
helper.go Remove incorrect and unnecessary Escape from templates (#29394) 2024-02-26 22:30:27 +01:00
helper_test.go Refactor Safe modifier (#29392) 2024-02-26 22:30:27 +01:00
htmlrenderer.go Upgrade to golangci-lint@v1.55.0 (#27756) 2023-10-24 02:54:59 +00:00
htmlrenderer_test.go
mailer.go
static.go
templates_bindata.go
util_avatar.go Fix default avatar image size in PR diff page (#28971) 2024-02-02 10:01:11 +00:00
util_dict.go Use Set[Type] instead of map[Type]bool/struct{}. (#26804) 2023-08-30 06:55:25 +00:00
util_json.go
util_misc.go Improve feed icons and feed merge text color (#27498) 2023-10-07 23:26:27 +00:00
util_render.go Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
util_render_test.go Allow 's in mentions 2024-02-27 18:26:59 +00:00
util_slice.go
util_string.go templates: HasPrefix support for template.HTML 2024-02-16 15:20:52 +01:00
util_string_test.go templates: HasPrefix support for template.HTML 2024-02-16 15:20:52 +01:00
util_test.go