Skip to content

Commit

Permalink
Merge pull request #43 from sudoskys/dev
Browse files Browse the repository at this point in the history
🐛 fix: update file rendering logic and version bump to 0.2.1
  • Loading branch information
sudoskys authored Dec 12, 2024
2 parents a5d462a + 99d04ad commit ec5c5a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "telegramify-markdown"
version = "0.2.0"
version = "0.2.1"
description = "Makes it easy to send Markdown in Telegram MarkdownV2 style"
authors = [
{ name = "sudoskys", email = "coldlando@hotmail.com" },
Expand Down
2 changes: 1 addition & 1 deletion src/telegramify_markdown/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def render_block(doc_t: list):
File(file_name=file_name, file_data=file_content.encode(), caption="")
)
else:
_rendered.append(Text(content=escaped_cell))
_rendered.append(File(file_name="letter.txt", file_data=unescaped_cell.encode(), caption=""))
else:
_rendered.append(Text(content=escaped_cell))
return _rendered
Expand Down

0 comments on commit ec5c5a1

Please sign in to comment.