Skip to content

Commit 084a5bc

Browse files
chenjiahanSoonIter
andauthored
Update packages/core/src/node/runtimeModule/siteData/extractPageData.ts
Co-authored-by: Soon <[email protected]>
1 parent f22e338 commit 084a5bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/node/runtimeModule/siteData/extractPageData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export async function extractPageData(
109109
{
110110
// Skip code blocks
111111
selector: 'pre > code',
112-
format: searchCodeBlocks ? 'inlineTag' : 'skip',
112+
format: searchCodeBlocks ? 'block' : 'skip',
113113
},
114114
...['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].map(tag => ({
115115
selector: tag,

0 commit comments

Comments
 (0)