Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve telegram messages formatting, add tests #42

Merged
merged 1 commit into from
Jul 14, 2021
Merged

Improve telegram messages formatting, add tests #42

merged 1 commit into from
Jul 14, 2021

Conversation

paskal
Copy link
Collaborator

@paskal paskal commented Jul 14, 2021

Before HTML stripping of all tags but <a> didn't work properly which resulted in messages cut after first non-<a> tag, after this change message generator, is more sophisticated about different kinds of RSS items and handles HTML sanitizing properly.
Before:
image
After:
image

@paskal paskal marked this pull request as draft July 14, 2021 20:26
@paskal paskal marked this pull request as ready for review July 14, 2021 21:32
@umputun umputun merged commit ac26bed into umputun:master Jul 14, 2021
@paskal paskal deleted the improve-msg-format branch July 14, 2021 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants