Skip to content

Commit baa9fe1

Browse files
committed
Fix front matter delimiters in injected markdown
1 parent be43a65 commit baa9fe1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.verify-helper/scripts/inject_minified_docs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,8 @@ def inject_minified_to_markdown(markdown_file, minified_code=None, minified_bund
8686
)
8787

8888
# Write updated content
89-
new_content = f'---{new_front_matter_str}---{body}'
89+
# Emit well-formed front matter blocks; Jekyll requires newlines after delimiters
90+
new_content = f'---\n{new_front_matter_str}---\n{body}'
9091
with open(markdown_file, 'w', encoding='utf-8') as f:
9192
f.write(new_content)
9293

0 commit comments

Comments
 (0)