Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: bug sending mail with rich-text editor Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
gdegoulet2
Newbie
Newbie


Joined: 12 April 2011
Location: France
Online Status: Offline
Posts: 8
Posted: 12 April 2011 at 1:08am | IP Logged Quote gdegoulet2

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 View gdegoulet2's Profile Search for other posts by gdegoulet2 Visit gdegoulet2's Homepage
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 12 April 2011 at 2:07am | IP Logged Quote Igor

Thanks for your feedback! I have reproduced the issue and will let developers know of it.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
gdegoulet2
Newbie
Newbie


Joined: 12 April 2011
Location: France
Online Status: Offline
Posts: 8
Posted: 12 April 2011 at 5:23am | IP Logged Quote gdegoulet2

to get the patch
class_converthtml.php.pa
tch
Back to Top View gdegoulet2's Profile Search for other posts by gdegoulet2 Visit gdegoulet2's Homepage
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide