1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-08-02 16:35:19 +02:00

Remove RequireHighlightJS field, update plantuml example. (#19615)

This commit is contained in:
wxiaoguang 2022-05-05 15:53:38 +08:00 committed by GitHub
parent 5a75a5463e
commit 7b089c465d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 10 additions and 28 deletions

View file

@ -735,8 +735,6 @@ func PackagistHooksNewPost(ctx *context.Context) {
}
func checkWebhook(ctx *context.Context) (*orgRepoCtx, *webhook.Webhook) {
ctx.Data["RequireHighlightJS"] = true
orCtx, err := getOrgRepoCtx(ctx)
if err != nil {
ctx.ServerError("getOrgRepoCtx", err)