https://bugs.kde.org/show_bug.cgi?id=439680

Mike Benson <m...@kambe.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |m...@kambe.com.au

--- Comment #9 from Mike Benson <m...@kambe.com.au> ---
To put it bluntly, KMail is butchering HTML insertions, even if you confine
yourself to what is supported by the QTextEdit class.

Here's the HTML for my signature:
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px;
margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br
/></p>
<hr />
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><br /></p>
<table border="0" style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; border-collapse:collapse;" width="100%" cellspacing="2"
cellpadding="0">
<tr>
<td width="100">
<p style=" margin-top:42px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><img
src="file://home/mikb/Scouts/Belrose/Belrose Scout Group Logo-Vertical Col-01
tiny.png" /></p></td>
<td width="150">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style="
font-family:'Arial'; font-size:12pt; font-weight:700;">Mike Benson</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style="
font-family:'Arial'; font-size:12pt; font-style:italic;">Won-Tolla</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style="
font-family:'Arial'; font-size:12pt;">Group Leader</span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style="
font-family:'Arial'; font-size:12pt;">Belrose Scout Group </span></p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style="
font-family:'Arial'; font-size:12pt;">0428428020</span></p></td>
<td
background="file:///home/mikb/Scouts/Branding/Scouts_NSW_Gumtree_Graphics_A_Vert
tiny.png"></td></tr></table>


And this is what KMail sends:
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br></p>
<hr>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br></p>
<table cellpadding="0" cellspacing="2" width="100%" border="1"><tbody><tr><td
width="100" colspan="1" rowspan="1"><p
style="margin-top:42;margin-bottom:0;margin-left:0;margin-right:0;"><img
src="cid:9215389586175031413@KDE"></p>
</td><td width="150" colspan="1" rowspan="1"><p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><span
style="font-size:1em;"><span style="font-family:Arial;"><strong>Mike
Benson</strong></span></span></p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><em>Won-Tolla</em></p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Group
Leader</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">Belrose
Scout Group </p>
<p
style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">0428428020</p>
</td><td width="" colspan="1" rowspan="1"><p
style="margin-top:12;margin-bottom:12;margin-left:0;margin-right:0;"><br></p>
</td></tr></tbody></table><br>

Border settings on the table are completely overwritten.
Background image settings are scrubbed.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to