Skip to content

Commit

Permalink
modified: .github/actions/recent-posts/main.py
Browse files Browse the repository at this point in the history
	- Readded ending new line.

modified:   README.md
	- Added new line to end of blog post section.
  • Loading branch information
it176131 committed Jan 3, 2025
1 parent 3472be6 commit 507287f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/recent-posts/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def main(
repl = (
f"- [{model.entry.title}]({model.entry.link}) by {model.entry.author}"
)
new_text = re.sub(pattern=pattern, repl=f"\n{repl}", string=text)
new_text = re.sub(pattern=pattern, repl=f"\n{repl}\n", string=text)
with readme.open(mode="w") as f:
f.write(new_text)

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,5 @@ Get help: [Post in our discussion board](https://github.com/orgs/skills/discussi
</footer>

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

0 comments on commit 507287f

Please sign in to comment.