Skip to content

Commit 0a065e4

Browse files
committed
[misc] fix spurious newlines generated by gen_blog_post_html.py
1 parent 8dd616b commit 0a065e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

misc/gen_blog_post_html.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def convert(src: str) -> str:
9595
h = re.sub(r"`\*\*`", "<tt>**</tt>", h)
9696

9797
# Paragraphs
98-
h = re.sub(r"\n([A-Z])", r"\n<p>\1", h)
98+
h = re.sub(r"\n\n([A-Z])", r"\n\n<p>\1", h)
9999

100100
# Bullet lists
101101
h = format_lists(h)

0 commit comments

Comments
 (0)