Phase 1 Wiki Template refactor
This commit is contained in:
@@ -702,6 +702,7 @@ func computeManagedHash(content string) string {
|
||||
if !ok {
|
||||
managed = content
|
||||
}
|
||||
managed = normalizePreservedSectionBodies(managed)
|
||||
h := sha256.Sum256([]byte(strings.TrimSpace(managed)))
|
||||
return fmt.Sprintf("%x", h[:])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user