-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve getMessageHTML signature, improve telegram message crop
Previously, the telegram message was stripped of its HTML, which was unintended. After that change, it would be stripped of HTML formatting only if the characters limit is exceeded. Otherwise, we need to do sophisticated HTML parsing to find the tag, which would be left without the closing part when trimming the message.
- Loading branch information
Showing
2 changed files
with
29 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters