mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-29 20:13:27 +00:00
nit fix (#19116)
This commit is contained in:
parent
fa73cbf5a7
commit
45f8d97131
|
@ -373,6 +373,9 @@ var migrations = []Migration{
|
||||||
NewMigration("Increase WebAuthentication CredentialID size to 410 - NO-OPED", increaseCredentialIDTo410),
|
NewMigration("Increase WebAuthentication CredentialID size to 410 - NO-OPED", increaseCredentialIDTo410),
|
||||||
// v210 -> v211
|
// v210 -> v211
|
||||||
NewMigration("v208 was completely broken - remigrate", remigrateU2FCredentials),
|
NewMigration("v208 was completely broken - remigrate", remigrateU2FCredentials),
|
||||||
|
|
||||||
|
// Gitea 1.16.2 ends at v211
|
||||||
|
|
||||||
// v211 -> v212
|
// v211 -> v212
|
||||||
NewMigration("Create ForeignReference table", createForeignReferenceTable),
|
NewMigration("Create ForeignReference table", createForeignReferenceTable),
|
||||||
}
|
}
|
||||||
|
|
|
@ -348,8 +348,7 @@ func postProcess(ctx *RenderContext, procs []processor, input io.Reader, output
|
||||||
|
|
||||||
// Render everything to buf.
|
// Render everything to buf.
|
||||||
for _, node := range newNodes {
|
for _, node := range newNodes {
|
||||||
err = html.Render(output, node)
|
if err := html.Render(output, node); err != nil {
|
||||||
if err != nil {
|
|
||||||
return &postProcessError{"error rendering processed HTML", err}
|
return &postProcessError{"error rendering processed HTML", err}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue