Author |
|
gdegoulet2 Newbie
Joined: 12 April 2011 Location: France
Online Status: Offline Posts: 8
|
Posted: 12 April 2011 at 1:08am | IP Logged
|
|
|
when your message is :
--
test
test
test
--
the html text send is "<html><body>test<div>test</div>< div>test</div>
<div>test</div></body></ht=ml>"
put the plain/text text after convert is "testtesttest"
there is a little bug in libs/class_converthtml.php
we need to add \n before <div> tags before the striptags
in function _convert() , add after "$text = preg_replace($this->search, $this-
>replace, $text);"
$text=str_replace("<div>","\n<div>",$text);
so your plain/text Part will be "human readeable" :)
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 12 April 2011 at 2:07am | IP Logged
|
|
|
Thanks for your feedback! I have reproduced the issue and will let developers know of it.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
gdegoulet2 Newbie
Joined: 12 April 2011 Location: France
Online Status: Offline Posts: 8
|
Posted: 12 April 2011 at 5:23am | IP Logged
|
|
|
to get the patch
class_converthtml.php.pa
tch
|
Back to Top |
|
|