Skip to content

Commit dda730a

Browse files
committed
modified: .github/actions/recent-posts/main.py
- Added surrounding new line characters to table.
1 parent acc4ce0 commit dda730a

File tree

1 file changed

+1
-1
lines changed
  • .github/actions/recent-posts

1 file changed

+1
-1
lines changed

.github/actions/recent-posts/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def main(
7171
console.print(table)
7272

7373
repl = capture.get()
74-
new_text = re.sub(pattern=pattern, repl=repl, string=text)
74+
new_text = re.sub(pattern=pattern, repl=f"\n{repl}\n", string=text)
7575
with readme.open(mode="w") as f:
7676
f.write(new_text)
7777

0 commit comments

Comments
 (0)