Skip to content

Commit 507287f

Browse files
committed
modified: .github/actions/recent-posts/main.py
- Readded ending new line. modified: README.md - Added new line to end of blog post section.
1 parent 3472be6 commit 507287f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def main(
5959
repl = (
6060
f"- [{model.entry.title}]({model.entry.link}) by {model.entry.author}"
6161
)
62-
new_text = re.sub(pattern=pattern, repl=f"\n{repl}", string=text)
62+
new_text = re.sub(pattern=pattern, repl=f"\n{repl}\n", string=text)
6363
with readme.open(mode="w") as f:
6464
f.write(new_text)
6565

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,5 @@ Get help: [Post in our discussion board](https://github.com/orgs/skills/discussi
5757
</footer>
5858

5959
<!-- BLOG START -->
60-
- [pydantic-xml: Parsing My RSS Feed](https://it176131.github.io/2024/12/23/pydantic-xml.html) by Ian Thompson<!-- BLOG END -->
60+
- [pydantic-xml: Parsing My RSS Feed](https://it176131.github.io/2024/12/23/pydantic-xml.html) by Ian Thompson
61+
<!-- BLOG END -->

0 commit comments

Comments
 (0)