Skip to content

Escape HTML in password protected message intros #3480

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
Mar 11, 2021
Merged

Conversation

seisvelas
Copy link
Contributor

Currently, here is what happens if I include an <i> tag in a password protected message's unencrypted intro section:

Screen Shot 2021-03-11 at 1 53 05

As you can see, the tag is applied and the rest of the email is italicized. Here is what happens after this PR:

Screen Shot 2021-03-11 at 1 52 51

@seisvelas seisvelas marked this pull request as ready for review March 11, 2021 08:54
@seisvelas seisvelas requested a review from tomholub March 11, 2021 08:55
@seisvelas
Copy link
Contributor Author

Failing lots of tests, none of which seem connected to this change in any obvious way.

@seisvelas
Copy link
Contributor Author

Okay, I reran the tests for the last commit to master (which passed when the commit was merged) and they are now failing: https://flowcrypt.semaphoreci.com/workflows/9ba160ab-2172-4a99-85ca-234edf401adc?pipeline_id=320a823f-bbcf-41db-8052-d2f11c0bbe7f

So I don't believe this is related to this PR specifically.

Copy link
Collaborator

@tomholub tomholub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll still merge this, thank you!

@tomholub tomholub merged commit 1849c2b into master Mar 11, 2021
@tomholub tomholub deleted the escape-intro branch March 11, 2021 14: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