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 acc4ce0 commit dda730aCopy full SHA for dda730a
.github/actions/recent-posts/main.py
@@ -71,7 +71,7 @@ def main(
71
console.print(table)
72
73
repl = capture.get()
74
- new_text = re.sub(pattern=pattern, repl=repl, string=text)
+ new_text = re.sub(pattern=pattern, repl=f"\n{repl}\n", string=text)
75
with readme.open(mode="w") as f:
76
f.write(new_text)
77
0 commit comments