Strikethrough text is not preserved in replies #16

Closed
opened 6 years ago by cl0ne · 1 comments
cl0ne commented 6 years ago
Owner

Steps to reproduce:
Issue /me or /roll command with formatted text that contains strike-through parts. For example,

/roll d6 do nothing a barrel roll

Actual result: strike-through parts are shown without any formatting in bot's reply.

username rolls 1d6 for:

do nothing a barrel roll

...

Expected result: text still contains strike-through parts in bot's reply.

username rolls 1d6 for:

do nothing a barrel roll

...

**Steps to reproduce:** Issue `/me` or `/roll` command with formatted text that contains strike-through parts. For example, > /roll d6 do ~~nothing~~ a barrel roll **Actual result:** strike-through parts are shown without any formatting in bot's reply. > username rolls **1d6** for:<br/> > do nothing a barrel roll > > ... **Expected result:** text still contains strike-through parts in bot's reply. > username rolls **1d6** for:<br/> > do ~~nothing~~ a barrel roll > > ...
cl0ne added the
Bug
label 6 years ago
cl0ne self-assigned this 6 years ago
cl0ne added the
Needs investigation
label 6 years ago
Poster
Owner

Well, there's an upstream issue with corresponding unmerged PR that should add v4.5 Bot API support.

We can use entities data from update to add striked-through (and underlined) parts of the text ourself or just wait till upstream will merge this PR.

Well, there's an [upstream issue](https://github.com/python-telegram-bot/python-telegram-bot/issues/1689) with corresponding unmerged PR that should add v4.5 Bot API support. We can use entities data from update to add striked-through (and underlined) parts of the text ourself or just wait till upstream will merge [this PR](https://github.com/python-telegram-bot/python-telegram-bot/pull/1508).
cl0ne removed the
Needs investigation
label 6 years ago
cl0ne added a new dependency 6 years ago
cl0ne removed a dependency 6 years ago
cl0ne added a new dependency 6 years ago
cl0ne removed a dependency 6 years ago
cl0ne closed this issue 6 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.