Bug 430381

Summary: HTML version of email has first line smaller than rest of body
Product: [Applications] kmail2 Reporter: Alejandro Lorenzo <alejandro_aero>
Component: miscAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 5.15.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alejandro Lorenzo 2020-12-14 16:06:59 UTC
SUMMARY
The HTML version of emails kmail is producing emails with the first line smaller than the rest of the body without being instructed to do so

STEPS TO REPRODUCE
1. Write an email with two lines saying "this is a test" without any further formatting
2. Send email to yourself
3. Email received has first line smaller

OBSERVED RESULT
The produced html code:

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span style="font-size:0.83em;">This is another test</span></p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">This is a test<br />-- </p>

Notice the <span style="font-size:0.83em">

EXPECTED RESULT
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">This is another test</p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">This is a test<br />-- </p>

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian Testing
KDE Plasma Version:  20.08.2
KDE Frameworks Version: 5.74.0
Qt Version: 5.15.1

ADDITIONAL INFORMATION