Composer: Drop extra font-size in elems of paste in HTML
Evolution has a tendency to mess with formatting (where it shouldn't) when copying and pasting within itself, perhaps at other times too.
The issue when copying and moving a line within an evolution email is it adds unnecessary =C2=A0. As I use evolution for work, my recipients mostly use outlook and this can make these sections come out with a different sizing/font. Don’t know if this is the case for other mail clients. This has made a very bad look especially when the contents are of a sensitive nature.
The only way I can guarantee an email is received correctly is to copy everything at the end and paste unformatted over the top. Of course, I don’t always remember to do this and this process is very tedious. Sure, you might say always paste unformatted but that goes against natural instinct and years of computing usage to do so when in the same style/body format. I’m also not sure this is the only cause of these unwanted UTF-8 codes.
As far as I am aware this issue has been occurring for the last 2+ years - its definitely nothing new so has crossed multiple versions. Currently on Arch using the up-to-date evolution-ews package though opening issue here is really relevant to the base package of evolution.
Steps to reproduce:
- Compose new message (HTML)
- Write some text over a few lines
- Copy and Paste text to different location in message e.g. just move the content of message around using copy/paste
- Save message as draft (or send it)
- Export message and view in text editor which will show =C2=A0 where copy and paste boundaries took place
Example Message: (as displayed in evolution PRE copy/paste)
Hello,
Welcome to test.
This line I am going to copy and paste into welcome to test sentence.
Thanks
After Copy & Paste: (RAW file in text editor)
Hello,=C2=A0
Welcome=C2=A0going to copy and paste=C2=A0to test.=C2=A0
This line I am into welcome to test sentence.=C2=A0
Thanks
"going to copy and paste" will now display in a different format in Outlook due to =C2=A0 at the start and end of copy and paste boundaries
Temporary Fix (Copy and Paste Unformatted over whole message): (RAW file in text editor)
Hello,=20
Welcome going to copy and paste to test.=20
This line I am into welcome to test sentence.=20
Thanks
This will now be displayed correctly though =20 also seems uncessary to add so shouldn't really be included either
I've also had this effect take place over multiple lines such as =C2=A0 at the end of the line can cause the next section of text to be incorrectly formatted in outlook when there is not a new line inbetween and until the next =C2=A0 which then seems to reset to normal formatting for text afterwards. Whilst this may be an issue with both evolution and outlook (evolution for adding characters it shouldn't and outlook for allowing this characters to affect formatting) these characters are not necessary in the first place to send the email correctly and would make sense for them to be removed entirely.
Thanks