We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42f4557 commit 4d96e73Copy full SHA for 4d96e73
src/module/src/runtime/utils/collection.ts
@@ -166,7 +166,9 @@ export function normalizeDocument(document: DatabaseItem) {
166
Reflect.deleteProperty(document, 'title')
167
}
168
169
- const extractedContentHeading = contentHeading(document.body as MinimarkTree)
+ const extractedContentHeading = document.body
170
+ ? contentHeading(document.body as MinimarkTree)
171
+ : { title: '', description: '' }
172
if (extractedContentHeading.title === document.title) {
173
174
0 commit comments