set HasCode only for CodeBlock (#4842)
This commit is contained in:
parent
29b683d5db
commit
452f47c4b9
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ func RebuildMemoPayload(memo *store.Memo) error {
|
||||||
if !n.Complete {
|
if !n.Complete {
|
||||||
property.HasIncompleteTasks = true
|
property.HasIncompleteTasks = true
|
||||||
}
|
}
|
||||||
case *ast.Code, *ast.CodeBlock:
|
case *ast.CodeBlock:
|
||||||
property.HasCode = true
|
property.HasCode = true
|
||||||
case *ast.EmbeddedContent:
|
case *ast.EmbeddedContent:
|
||||||
// TODO: validate references.
|
// TODO: validate references.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue