Skip to content

Strip first 6 chars only if ishtml value is true #10

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

Merged
merged 1 commit into from
Jul 9, 2020

Conversation

FummiTaksi
Copy link
Contributor

In the implementation of the first PR the first 6 chars were stripped even tough the HTML tag was not in the start of the message. This PR contains implementation where the chars are stripped only when message starts with HTML and a unit test case which checks that an message which doesn't start with HTML is correct

@Tattoo
Copy link
Contributor

Tattoo commented Jul 9, 2020

lgtm

@Tattoo Tattoo merged commit 1d1d1e3 into master Jul 9, 2020
@Tattoo Tattoo mentioned this pull request Jul 9, 2020
@FummiTaksi FummiTaksi deleted the support_html_messages branch July 13, 2020 09:20
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