Unverified Commit 452f47c4 authored by unuunn's avatar unuunn Committed by GitHub

set HasCode only for CodeBlock (#4842)

parent 29b683d5
......@@ -97,7 +97,7 @@ func RebuildMemoPayload(memo *store.Memo) error {
if !n.Complete {
property.HasIncompleteTasks = true
}
case *ast.Code, *ast.CodeBlock:
case *ast.CodeBlock:
property.HasCode = true
case *ast.EmbeddedContent:
// TODO: validate references.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment