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

Weird Plain Text view behaviour #368

Closed
sd65 opened this issue Feb 26, 2018 · 5 comments
Closed

Weird Plain Text view behaviour #368

sd65 opened this issue Feb 26, 2018 · 5 comments

Comments

@sd65
Copy link

sd65 commented Feb 26, 2018

Hi,

On a plain text mail, Plain Text tab displays HTML.
On a HTML mail, Plain Text tab displays HTML and HTML tab displays plain text.

This is just weird and should be easy to fix I guess. 😃

@sj26
Copy link
Owner

sj26 commented Feb 26, 2018

Hi @sd65 — thanks for your report!

I'm afraid I can't replicate this. It would be a pretty obvious problem! But if I run something like using the latest version of mailcatcher and the example emails in this repository it all behaves as expected:

mailcatcher
catchmail < examples/plainmail
catchmail < examples/htmlmail
catchmail < examples/multipartmail

screen shot 2018-02-27 at 10 17 58 am

screen shot 2018-02-27 at 10 18 00 am

screen shot 2018-02-27 at 10 18 03 am

screen shot 2018-02-27 at 10 18 07 am

Can you please provide complete example message bodies and show some screenshots with the issue? Also, what version of mailcatcher are you using (mailcatcher --version)?

@sd65
Copy link
Author

sd65 commented Feb 27, 2018

Hi,

Thanks for the quick response. I'm using mailcatcher 0.6.5.

Since your post, I can precise my astonishment. In fact, links are concerted in hyperlinks automatically when using plain text view.
Furthermore, HTML tags are interpreted in plain text.
Here's some screenshots:

m1

m2

Is it an expected behavior? To me, auto hyperlinks are OK and great but interpreting HTML tags is wrong and should be just ignored. What do you think?
Thanks!

@sd65 sd65 changed the title HTML and Plain Text tabs are inverted Weird Plain Text view behaviour Feb 27, 2018
@sj26
Copy link
Owner

sj26 commented Feb 27, 2018

Ah, sounds related to #356 introduced by #97. I'm tempted just to revert #97 completely.

@barrettkingram
Copy link

Any update on this issue? I've been encountering it lately.

@sj26
Copy link
Owner

sj26 commented Feb 22, 2021

This is tracked in a new issue #446, please follow there.

@sj26 sj26 closed this as completed Feb 22, 2021
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

No branches or pull requests

3 participants